Revert "AddToPackageMap -> exec directive"

This reverts commit ff332c3140.
This commit is contained in:
Shtoyan 2022-02-25 23:00:26 +04:00
parent 90599fd6b7
commit 5df8f93add

View File

@ -1,12 +1,6 @@
class NicePack extends Mutator class NicePack extends Mutator
dependson(NiceStorageServer) dependson(NiceStorageServer)
config(NicePack); config(NicePack);
#exec OBJ LOAD FILE=NicePackA.ukx
#exec OBJ LOAD FILE=NicePackSM.usx
#exec OBJ LOAD FILE=NicePackSnd.uax
#exec OBJ LOAD FILE=NicePackT.utx
// Should we scale health off all zeds to 6-player level? // Should we scale health off all zeds to 6-player level?
var config bool bScaleZedHealth; var config bool bScaleZedHealth;
// Should we replace all pickups with their Nice versions when available? // Should we replace all pickups with their Nice versions when available?
@ -161,6 +155,10 @@ function PreBeginPlay()
super.PreBeginPlay(); super.PreBeginPlay();
foreach AllActors(Class'ZombieVolume', ZV) foreach AllActors(Class'ZombieVolume', ZV)
ZV.MinDistanceToPlayer = minimalSpawnDistance; ZV.MinDistanceToPlayer = minimalSpawnDistance;
AddToPackageMap("NicePackA.ukx");
AddToPackageMap("NicePackSM.usx");
AddToPackageMap("NicePackSnd.uax");
AddToPackageMap("NicePackT.utx");
} }
simulated function PostBeginPlay() simulated function PostBeginPlay()