Ensure player is set at start location if there is one (#435)

This is done even if there is no ESC script attached to the room.
First default position will then be the start ESCLocation if there is one.
Else, fallback to origin (0,0).
This commit is contained in:
Julian Murgia authored and GitHub committed 2021-11-12 22:57:44 +01:00
1 parent e9fc3a030e
commit bbe885edc2
9 files changed
+192 -19

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
:exit_scene
set_sound_state _sound res://game/sfx/sounds/doorOpen_2.ogg false
change_scene "res://game/rooms/room14/room14.tscn"