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 authored and GitHub committed 2022-01-17 09:48:25 +01:00
1 parent c281fa2755
commit 3e6db46ec6
7 files changed
+209 -15

No files matched your search

+3
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"
+8
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