"Fix debug message for oven state change")

This commit is contained in:
snider committed 2022-08-15 21:42:48 -07:00
1 parent 8d0ed8c98f
commit 83fc7e5924
1 file changed
+2 -2
+2 -2
View File
@@ -13,10 +13,10 @@ func _ready():
state = StateIdle.new() state = StateIdle.new()
state.ctx = self state.ctx = self
state.enter_from(null) state.enter_from(null)
print("hydroponics_station: NULL -> ", state.NAME) print("oven: NULL -> ", state.NAME)
func change_state(new_state): func change_state(new_state):
print("hydroponics_station: ", state.NAME, " -> ", new_state.NAME) print("oven: ", state.NAME, " -> ", new_state.NAME)
new_state.ctx = self new_state.ctx = self
state.exit_to(new_state) state.exit_to(new_state)
new_state.enter_from(state) new_state.enter_from(state)