Fix spawn location and on hit
This commit is contained in:
@@ -18,17 +18,16 @@ public partial class StageGUI : Control
|
||||
if (_gameManager.IsGameOver)
|
||||
return;
|
||||
|
||||
var wheel1 = GetNode<TextureRect>("CharacterSelect/Wheel");
|
||||
var wheel2 = GetNode<TextureRect>("CharacterSelect/Wheel2");
|
||||
|
||||
if (player == _gameManager.Players.ElementAt(0))
|
||||
{
|
||||
var wheel1 = GetNode<TextureRect>("CharacterSelect/Wheel");
|
||||
wheel1.FocusMode = FocusModeEnum.All;
|
||||
wheel1.GrabFocus();
|
||||
wheel1.Visible = true;
|
||||
}
|
||||
else if (player == _gameManager.Players.ElementAt(1))
|
||||
{
|
||||
var wheel2 = GetNode<TextureRect>("CharacterSelect/Wheel2");
|
||||
wheel2.FocusMode = FocusModeEnum.All;
|
||||
wheel2.GrabFocus();
|
||||
wheel2.Visible = true;
|
||||
|
||||
Reference in New Issue
Block a user