Station Move handles disabled when not in build mode

This commit is contained in:
JonShard
2026-08-02 12:41:02 +02:00
parent 10bb7cd5bf
commit 1117d90da6
6 changed files with 42 additions and 11 deletions
+7 -2
View File
@@ -7,11 +7,16 @@ static var sides_in_play: Array[String]
enum GameState {
RUNNING,
GAME_OVER
GAME_OVER,
BUILDING
}
static var game_state: GameState = GameState.RUNNING
static var game_state: GameState = GameState.RUNNING: set = _set_game_state
static func _set_game_state(value: GameState):
game_state = value
Signals.game_state_changed.emit(value)
static func _restart():
print("restart Game")
game_state = GameState.RUNNING