kirbodevv / S.A.U.W.-

Game S.A.U.W.
1 stars 0 forks source link

Crash #40

Closed kirbodevv closed 2 years ago

kirbodevv commented 2 years ago

Describe the bug

Crash when you click Exit in pause_interface

To Reproduce

Steps to reproduce the behavior:

  1. Open pause_interface
  2. Click on Exit
  3. Crash

Platform

Log

java.lang.RuntimeException: It works, but you shouldn't use it :moyai:
    at com.kgc.sauw.game.SAUW.dispose(SAUW.java:79)
    at com.kgc.sauw.game.Game.closeGame(Game.java:84)
    at com.kgc.sauw.core.gui.InterfaceElement.onClick(InterfaceElement.java:81)
    at com.kgc.sauw.core.gui.InterfaceElement.update(InterfaceElement.java:64)
    at com.kgc.sauw.core.gui.elements.Layout.tick(Layout.java:71)
    at com.kgc.sauw.core.gui.InterfaceElement.update(InterfaceElement.java:75)
    at com.kgc.sauw.core.gui.Interface.update(Interface.java:136)
    at com.kgc.sauw.core.gui.Interfaces.updateInterfaces(Interfaces.java:40)
    at com.kgc.sauw.game.Game.render(Game.java:163)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:232)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:127)
kirbodevv commented 2 years ago

Ok...

image