Avoid sending landmap data for Falklands.

This is too damn slow. A possible solution is explained in the comment,
but we shouldn't tackle that until we're sure the rest of the game runs
okay.
This commit is contained in:
Dan Albert
2022-09-10 16:11:10 -07:00
committed by Raffson
parent 0cb61ea778
commit e4d780cb61
2 changed files with 20 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ class MapZonesJs(BaseModel):
class Config:
title = "MapZones"
@classmethod
def empty(cls) -> MapZonesJs:
return MapZonesJs(inclusion=[], exclusion=[], sea=[])
class UnculledZoneJs(BaseModel):
position: LeafletPoint