v2.4.0: added a check to prevent actor processing after scene change
This commit is contained in:
@@ -232,6 +232,10 @@ public class Game implements ApplicationListener {
|
||||
public static Scene scene() {
|
||||
return instance.scene;
|
||||
}
|
||||
|
||||
public static boolean switchingScene() {
|
||||
return instance.requestedReset;
|
||||
}
|
||||
|
||||
protected void step() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user