Fix transitions not happening if the ESCRoom has no ESC script (#485)

Fixes godot-escoria/escoria-issues#95
This commit is contained in:
Julian Murgia
2022-01-17 09:48:25 +01:00
committed by GitHub
parent c281fa2755
commit 3e6db46ec6
7 changed files with 209 additions and 15 deletions

View File

@@ -0,0 +1,3 @@
:exit_scene
play_snd res://game/sfx/sounds/doorOpen_2.ogg
change_scene "res://game/rooms/room17/room17.tscn"

View File

@@ -6,3 +6,11 @@
set_angle player 90
stop
> [eq ESC_LAST_SCENE room17]
teleport player r16_r_exit
# Set player look down
set_angle player 180
stop