"Fix debug message for oven state change")

This commit is contained in:
snider committed 2022-08-15 22:35:51 -07:00
1 parent 92a9d4664d
commit 830b78cf77
1 file changed
+2 -2
+2 -2
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)