diff --git a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/DocumentHeader b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/DocumentHeader
index 60cba81b0..e30f8a134 100644
Binary files a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/DocumentHeader and b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/DocumentHeader differ
diff --git a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/MapScript.galaxy b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/MapScript.galaxy
index 8b374a524..927e05cb1 100644
--- a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/MapScript.galaxy
+++ b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/MapScript.galaxy
@@ -1397,8 +1397,6 @@ bool gt_FactionSwapInit_Func (bool testConds, bool runActions) {
else {
libABFE498B_gv_aP_Triggers_skipCutscenes = true;
lib15EF4C78_gf_RemoveUnusedStartingUnits(UnitGroupFromId(5), libABFE498B_gv_aP_Triggers_Option_overridePlayerRace);
- libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionEntireMap(), gv_p01_USER);
- lib15EF4C78_gf_AP_Player_UtilTownHallAutoRally(gv_p01_USER);
if ((libABFE498B_gv_aP_Triggers_Option_overridePlayerRace == "Zerg")) {
UnitSetPropertyFixed(UnitFromId(237324189), c_unitPropEnergyPercent, 100.0);
autoE89A680B_g = UnitGroup("AP_Lair", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
@@ -1434,6 +1432,8 @@ bool gt_FactionSwapInit_Func (bool testConds, bool runActions) {
}
}
+ libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionEntireMap(), gv_p01_USER);
+ lib15EF4C78_gf_AP_Player_UtilTownHallAutoRally(gv_p01_USER);
}
return true;
}
diff --git a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Preload.xml b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Preload.xml
index fb4310543..1fa0c5ed4 100644
--- a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Preload.xml
+++ b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Preload.xml
@@ -192,6 +192,8 @@
+
+
@@ -201,8 +203,6 @@
-
-
diff --git a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers
index 7cdd239bc..a82893e84 100644
--- a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers
+++ b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers
@@ -1780,9 +1780,9 @@
+
-
@@ -1816,32 +1816,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2220,6 +2194,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers.version b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers.version
index 3341ca3f2..38bf8206d 100644
Binary files a/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers.version and b/Maps/ArchipelagoCampaign/WoL/ap_havens_fall.SC2Map/Triggers.version differ
diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml
index 48ba4633c..80e90ba85 100644
--- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml
+++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/BehaviorData.xml
@@ -3752,6 +3752,7 @@
+
@@ -5655,6 +5656,7 @@
+
@@ -7039,6 +7041,7 @@
+
@@ -7058,6 +7061,7 @@
+
diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/Lib15EF4C78.galaxy b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/Lib15EF4C78.galaxy
index b318e36be..575b304df 100644
--- a/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/Lib15EF4C78.galaxy
+++ b/Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/Lib15EF4C78.galaxy
@@ -2975,6 +2975,7 @@ void lib15EF4C78_gf_RemoveUnusedStartingUnits (unitgroup lp_startingUnits, strin
}
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(autoA0E4A284_var), "Race", c_playerAny) != CatalogFieldValueGet(c_gameCatalogRace, lp_desiredFaction, "AttributeId", c_playerAny))) {
+ UnitBehaviorRemoveCategory(autoA0E4A284_var, c_unitBehaviorFlagPermanent);
UnitRemove(autoA0E4A284_var);
}
diff --git a/Mods/ArchipelagoPlayer.SC2Mod/DocumentHeader b/Mods/ArchipelagoPlayer.SC2Mod/DocumentHeader
index da0d247d3..16f720da2 100644
Binary files a/Mods/ArchipelagoPlayer.SC2Mod/DocumentHeader and b/Mods/ArchipelagoPlayer.SC2Mod/DocumentHeader differ
diff --git a/Mods/ArchipelagoPlayer.SC2Mod/GameData.version b/Mods/ArchipelagoPlayer.SC2Mod/GameData.version
index 1e49556ed..b754b81f2 100644
Binary files a/Mods/ArchipelagoPlayer.SC2Mod/GameData.version and b/Mods/ArchipelagoPlayer.SC2Mod/GameData.version differ
diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Triggers b/Mods/ArchipelagoPlayer.SC2Mod/Triggers
index ff65413c5..38feb9798 100644
--- a/Mods/ArchipelagoPlayer.SC2Mod/Triggers
+++ b/Mods/ArchipelagoPlayer.SC2Mod/Triggers
@@ -61141,10 +61141,35 @@
+
+
+
+
+ "Permanent" behaviors can include on-death effects which might inadvertently trigger on unit removal
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
If unit race != desired faction
diff --git a/Mods/ArchipelagoPlayer.SC2Mod/Triggers.version b/Mods/ArchipelagoPlayer.SC2Mod/Triggers.version
index d387fb968..95f1a37b6 100644
Binary files a/Mods/ArchipelagoPlayer.SC2Mod/Triggers.version and b/Mods/ArchipelagoPlayer.SC2Mod/Triggers.version differ