fix: allows for transition to be disabled on init; still has issue w/ UI showing up for fraction of a second
This commit is contained in:
committed by
Julian Murgia
parent
4c39e47d38
commit
6afff99e7c
@@ -84,8 +84,6 @@ func do(action: int, params: Array = [], can_interrupt: bool = false) -> void:
|
||||
if can_interrupt:
|
||||
escoria.event_manager.interrupt_running_event()
|
||||
|
||||
self.clear_current_action()
|
||||
|
||||
var walk_fast = false
|
||||
if params.size() > 2:
|
||||
walk_fast = true if params[2] else false
|
||||
|
||||
@@ -282,8 +282,8 @@ func _on_event_finished(finished_statement: ESCStatement, return_code: int, chan
|
||||
escoria.save_manager.save_enabled = true
|
||||
|
||||
if return_code == ESCExecution.RC_CANCEL:
|
||||
return_code = ESCExecution.RC_OK
|
||||
|
||||
return_code = ESCExecution.RC_OK
|
||||
|
||||
_running_events[channel_name] = null
|
||||
_channels_state[channel_name] = true
|
||||
|
||||
|
||||
@@ -113,6 +113,7 @@ func change_scene(room_path: String, enable_automatic_transitions: bool) -> void
|
||||
var game_parent = escoria.game_scene.get_parent()
|
||||
game_parent.remove_child(escoria.game_scene)
|
||||
|
||||
#escoria.game_scene.hide_ui()
|
||||
room_scene.add_child(escoria.game_scene)
|
||||
room_scene.move_child(escoria.game_scene, 0)
|
||||
room_scene.game = escoria.game_scene
|
||||
|
||||
Reference in New Issue
Block a user