From 5df8f93add2037b5ac460006b3122d94c63750a6 Mon Sep 17 00:00:00 2001 From: Shtoyan Date: Fri, 25 Feb 2022 23:00:26 +0400 Subject: [PATCH] Revert "AddToPackageMap -> exec directive" This reverts commit ff332c3140011d1c7fc8ad3c95506e551cc04bdc. --- sources/NicePack.uc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sources/NicePack.uc b/sources/NicePack.uc index 9f11278..7f68931 100644 --- a/sources/NicePack.uc +++ b/sources/NicePack.uc @@ -1,12 +1,6 @@ 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? @@ -161,6 +155,10 @@ 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()