diff --git a/app/content/system/house/room/states/room_state.gd b/app/content/system/house/room/states/room_state.gd index 31e6877..567079b 100644 --- a/app/content/system/house/room/states/room_state.gd +++ b/app/content/system/house/room/states/room_state.gd @@ -1,5 +1,5 @@ -extends State -const Room = preload("res://content/system/house/room/room.gd") +extends MachineState +const Room = preload ("res://content/system/house/room/room.gd") var room: Room diff --git a/app/lib/utils/state_machine/state.gd b/app/lib/utils/state_machine/state.gd index b2a998f..2f874b2 100644 --- a/app/lib/utils/state_machine/state.gd +++ b/app/lib/utils/state_machine/state.gd @@ -1,6 +1,6 @@ extends Node ## Base Class for all states -class_name State +class_name MachineState var state_machine: StateMachine