godot-shooter / commit
Show mouse once the player dies.
Player.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/Player.gd b/Player.gd index c4cf544..86bd483 100644 --- a/Player.gd +++ b/Player.gd @@ -39,6 +39,7 @@ func kill(): $Graphics/Dead.show() $Graphics/Alive.hide() $CanvasLayer/CenterContainer/DeathScreen.show() + Input.mouse_mode = Input.MOUSE_MODE_VISIBLE z_index = -1 func heal(amount: int = 1):