fix: needs instantiation; also small cleanup

This commit is contained in:
Duncan Brown
2022-04-15 00:22:44 -04:00
committed by Julian Murgia
parent 0175342a61
commit 0cf4672161

View File

@@ -12,7 +12,6 @@ const RESERVED_OBJECTS = [
MUSIC,
SOUND,
SPEECH,
#CAMERA
]
@@ -149,7 +148,6 @@ func register_object(object: ESCObject, room: ESCRoom = null, force: bool = fals
]
)
else:
room_key = ESCRoomObjectsKey.new()
room_key.room_global_id = room.global_id
room_key.room_instance_id = room.get_instance_id()