"Fix debug message for oven state change")

This commit is contained in:
Daniel Snider 2022-08-14 23:54:06 -07:00
parent 92a9d4664d
commit 830b78cf77

View File

@ -13,10 +13,10 @@ func _ready():
state = StateIdle.new()
state.ctx = self
state.enter_from(null)
print("hydroponics_station: NULL -> ", state.NAME)
print("oven: NULL -> ", state.NAME)
func change_state(new_state):
print("hydroponics_station: ", state.NAME, " -> ", new_state.NAME)
print("oven: ", state.NAME, " -> ", new_state.NAME)
new_state.ctx = self
state.exit_to(new_state)
new_state.enter_from(state)