refactor trigger zone generation

This commit is contained in:
Eclipse/Druss99
2025-10-04 21:58:32 -04:00
committed by Raffson
parent c0748e2a3e
commit 855d269420
4 changed files with 82 additions and 240 deletions

View File

@@ -98,9 +98,6 @@ class Coalition:
state = self.__dict__.copy()
# Avoid persisting any volatile types that can be deterministically
# recomputed on load for the sake of save compatibility.
if state["player"] != Player.NEUTRAL:
del state["_threat_zone"]
del state["_navmesh"]
del state["faker"]
return state