fix: enable transition to ESCRoom even if esc_script is not set (#502)
This commit is contained in:
@@ -267,7 +267,7 @@ func init_room(room: ESCRoom) -> void:
|
|||||||
#
|
#
|
||||||
# - room: The ESCRoom to be initialized for use.
|
# - room: The ESCRoom to be initialized for use.
|
||||||
func _perform_script_events(room: ESCRoom):
|
func _perform_script_events(room: ESCRoom):
|
||||||
if room.esc_script and escoria.event_manager.is_channel_free(escoria.event_manager.CHANNEL_FRONT) \
|
if escoria.event_manager.is_channel_free(escoria.event_manager.CHANNEL_FRONT) \
|
||||||
or (
|
or (
|
||||||
not escoria.event_manager.is_channel_free(escoria.event_manager.CHANNEL_FRONT) and \
|
not escoria.event_manager.is_channel_free(escoria.event_manager.CHANNEL_FRONT) and \
|
||||||
not escoria.event_manager.get_running_event(
|
not escoria.event_manager.get_running_event(
|
||||||
|
|||||||
Reference in New Issue
Block a user