From ff332c3140011d1c7fc8ad3c95506e551cc04bdc Mon Sep 17 00:00:00 2001 From: Shtoyan Date: Fri, 25 Feb 2022 16:55:54 +0400 Subject: [PATCH] AddToPackageMap -> exec directive --- sources/NicePack.uc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sources/NicePack.uc b/sources/NicePack.uc index ea1da92..b68e14d 100644 --- a/sources/NicePack.uc +++ b/sources/NicePack.uc @@ -1,6 +1,12 @@ class NicePack extends Mutator dependson(NiceStorageServer) 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? var config bool bScaleZedHealth; // Should we replace all pickups with their Nice versions when available? @@ -157,10 +163,6 @@ function PreBeginPlay() super.PreBeginPlay(); foreach AllActors(Class'ZombieVolume', ZV) ZV.MinDistanceToPlayer = minimalSpawnDistance; - AddToPackageMap("NicePackA.ukx"); - AddToPackageMap("NicePackSM.usx"); - AddToPackageMap("NicePackSnd.uax"); - AddToPackageMap("NicePackT.utx"); } simulated function PostBeginPlay()