🐛 Fix buges
This commit is contained in:
@ -46,12 +46,7 @@ public partial class PlayerInput : MultiplayerSynchronizer
|
||||
Rpc(nameof(Shoot));
|
||||
if (Input.IsActionJustPressed("weapon_reload"))
|
||||
Rpc(nameof(Reload));
|
||||
}
|
||||
|
||||
public override void _Input(InputEvent evt)
|
||||
{
|
||||
if (!IsCurrentPlayer) return;
|
||||
if (evt is InputEventMouseButton { Pressed: true })
|
||||
if (Input.IsActionJustPressed("skill_place_tile"))
|
||||
Rpc(nameof(Build));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user