From e73db3ee47994dee7bb21c64baf18f93b5058d2e Mon Sep 17 00:00:00 2001 From: Nitwel Date: Tue, 9 Apr 2024 15:35:33 +0200 Subject: [PATCH] fix name collisions --- app/content/system/house/room/states/room_state.gd | 4 ++-- app/lib/utils/state_machine/state.gd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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