mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-23 05:00:43 +07:00
Merge pull request #651 from ninjatao/fix_battletable
Fix submarines battle table.
This commit is contained in:
commit
5d77ac8b84
@ -58,7 +58,7 @@ class BattleTable(val worldScreen: WorldScreen): Table() {
|
||||
}
|
||||
|
||||
if(defender.isInvisible()
|
||||
&& attacker.getCivInfo().viewableInvisibleUnitsTiles.contains(selectedTile)) {
|
||||
&& !attacker.getCivInfo().viewableInvisibleUnitsTiles.contains(selectedTile)) {
|
||||
hide()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user