Simplified overcomplex test (#423)
This commit is contained in:
1 parent
fdd9f1b5b0
commit
b7b01c5770
1 file changed
+2
-2
@@ -96,8 +96,8 @@ func run(command_params: Array) -> int:
|
||||
room_scene.game = escoria.game_scene
|
||||
escoria.main.set_scene(room_scene)
|
||||
|
||||
if not "esc_script" in room_scene or not room_scene.esc_script \
|
||||
or not command_params[2] and !command_params[1]:
|
||||
# If automatic transition is not disabled, play the transition
|
||||
if not command_params[1]:
|
||||
escoria.main.scene_transition.transition()
|
||||
yield(escoria.main.scene_transition, "transition_done")
|
||||
|
||||
|
||||
Reference in new issue
Block a user