Prevent crash if playing for ante

This commit is contained in:
drdev
2014-03-30 23:09:10 +00:00
parent 8110a19f7b
commit 7803bde1b5

View File

@@ -129,7 +129,10 @@ public class VPlayerPanel extends FContainer {
field.update();
}
else {
zoneTabs.get(zoneType).update();
InfoTab zoneTab = zoneTabs.get(zoneType);
if (zoneTab != null) { //TODO: Support Ante somehow
zoneTab.update();
}
}
}