fix inventory being editable while voting phase
This commit is contained in:
parent
75e36d0e08
commit
a461e9cf1c
@ -1505,6 +1505,11 @@ public class Build extends Game
|
||||
{
|
||||
Player player = ((Player) event.getWhoClicked());
|
||||
|
||||
if (_buildGameState == 2 || _buildGameState == 3)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
if (IsLive() && IsAlive(player))
|
||||
{
|
||||
BuildData buildData = _data.get(player);
|
||||
|
Loading…
Reference in New Issue
Block a user