fix: needs instantiation; also small cleanup

This commit is contained in:
Duncan Brown authored and Julian Murgia committed 2022-04-19 16:25:26 +02:00
1 parent 0175342a61
commit 0cf4672161
1 file changed
-2
@@ -12,7 +12,6 @@ const RESERVED_OBJECTS = [
MUSIC, MUSIC,
SOUND, SOUND,
SPEECH, SPEECH,
#CAMERA
] ]
@@ -149,7 +148,6 @@ func register_object(object: ESCObject, room: ESCRoom = null, force: bool = fals
] ]
) )
else: else:
room_key = ESCRoomObjectsKey.new()
room_key.room_global_id = room.global_id room_key.room_global_id = room.global_id
room_key.room_instance_id = room.get_instance_id() room_key.room_instance_id = room.get_instance_id()