Basic game over imp
This commit is contained in:
@@ -16,12 +16,12 @@ public partial class StageGUI : Control
|
||||
|
||||
public void OnCharacterSelect(Player player)
|
||||
{
|
||||
if (_gameManager.IsGameOver)
|
||||
if (player.GameOver)
|
||||
return;
|
||||
|
||||
if (player == _gameManager.Players.ElementAt(0))
|
||||
{
|
||||
var wheel1 = GetNode<TextureRect>("CharacterSelect/Wheel");
|
||||
var wheel1 = GetNode<TextureRect>("CharacterSelect/Wheel");
|
||||
wheel1.FocusMode = FocusModeEnum.All;
|
||||
wheel1.GrabFocus();
|
||||
wheel1.Visible = true;
|
||||
|
||||
Reference in New Issue
Block a user