update last selected tab

- closes #751
This commit is contained in:
Anthony Calosa
2022-10-15 19:36:44 +08:00
parent ba426d7e99
commit c129b0f290
8 changed files with 52 additions and 71 deletions

View File

@@ -1166,7 +1166,7 @@ public final class CMatchUI
}
@Override
public PlayerZoneUpdates openZones(PlayerView controller, final Collection<ZoneType> zones, final Map<PlayerView, Object> playersWithTargetables) {
public PlayerZoneUpdates openZones(PlayerView controller, final Collection<ZoneType> zones, final Map<PlayerView, Object> playersWithTargetables, boolean backupLastZones) {
final PlayerZoneUpdates zonesToUpdate = new PlayerZoneUpdates();
for (final PlayerView view : playersWithTargetables.keySet()) {
for(final ZoneType zone : zones) {