fix: needs instantiation; also small cleanup
This commit is contained in:
committed by
Julian Murgia
parent
0175342a61
commit
0cf4672161
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user