Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

HideMoves now takes care of the transform command too...

  • Loading branch information...
commit fc7f645e583c920cd1d0848e0641a240164baf07 1 parent 0131b67
@Sleepcap authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  map.php
View
3  map.php
@@ -346,7 +346,8 @@
if ( $moveType == 'Support hold' )
{
- if (!HIDEMOVES) $drawMap->drawSupportHold($terrID,
+ // The "&& $toTerrID < 1000" needs to be added, because of the fake SupportHold in the Trafo-command.
+ if (!HIDEMOVES || $toTerrID > 999) $drawMap->drawSupportHold($terrID,
isset($deCoastMap['SupportHoldToTerrID'][$toTerrID]) ? $deCoastMap['SupportHoldToTerrID'][$toTerrID] : $toTerrID,
$success);
}

0 comments on commit fc7f645

Please sign in to comment.
Something went wrong with that request. Please try again.