This commit is contained in:
Anuken 2023-09-07 09:23:17 -04:00
parent 7fa002c626
commit a47e4518fe

View File

@ -112,7 +112,7 @@ public class Units{
/** @return whether this player can interact with a specific tile. if either of these are null, returns true.*/
public static boolean canInteract(Player player, Building tile){
return player == null || tile == null || tile.interactable(player.team());
return player == null || tile == null || tile.interactable(player.team()) || state.rules.editor;
}
/**