summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/subconscious/Game.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/subconscious/Game.java b/src/subconscious/Game.java
index a7493b3..ed2bea6 100644
--- a/src/subconscious/Game.java
+++ b/src/subconscious/Game.java
@@ -52,8 +52,7 @@ public class Game {
}
public void start() {
- // TODO: change
- this.setState(State.BATTLE);
+
}
public void update(long deltaNanoTime) {
@@ -68,6 +67,9 @@ public class Game {
/* methods to manage the state */
public void setState(State state) {
+ if (state == this.state)
+ return;
+
// stateLock.lock();
// this.stateChanged.signal();
// stateLock.unlock();