Removed Un-needed variable modifications since the Game node handles passing the paused variable when unpaused or paused signal is emitted

This commit is contained in:
2024-08-16 10:34:54 -05:00
parent ac6befea9c
commit 96a234fda2

View File

@ -19,10 +19,8 @@ func pause_game_button():
$"Pause Menu".hide()
hide()
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
GlobalSettings.is_paused = false
emit_signal("unpaused")
else:
GlobalSettings.is_paused = true
show()
$"Pause Menu".show()
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE