fix error that happens after the GUI is freed #20

Fusionado
cromer fusionados 1 commits de feature/fix_gui_error en develop 2022-07-23 13:28:06 -04:00
Mostrando solo los cambios del commit 5c4106246c - Mostrar todos los commits

Ver fichero

@ -99,8 +99,9 @@ func _ready() -> void:
func _physics_process(_delta: float) -> void:
if monitor_enabled:
if not $MonitorGUI.visible:
if has_node("MonitorGUI") and not $MonitorGUI.visible:
$MonitorGUI.visible = true
if started and not get_tree().paused:
var frame = empty_frame.duplicate(true)
frame["coins"] = coins