Browse Source

Change to adapt to new AcediaCore

master
Anton Tarasenko 1 year ago
parent
commit
5fa743861d
  1. 3
      sources/FixLogSpam/SpamTrader/HelperTrader.uc

3
sources/FixLogSpam/SpamTrader/HelperTrader.uc

@ -63,6 +63,7 @@ protected function Constructor()
local LevelInfo level;
local ShopVolume nextShop;
local WeaponLocker replacementLocker;
level = _server.unreal.GetLevel();
// Get locker
replacementLocker = SpawnDummyWeaponLocker();
@ -124,7 +125,7 @@ private final function WeaponLocker SpawnDummyWeaponLocker()
savedCollideActors = class'WeaponLocker'.default.bBlockActors;
class'WeaponLocker'.default.bCollideWorld = false;
class'WeaponLocker'.default.bBlockActors = false;
lockerInstance = WeaponLocker(_.memory.Allocate(class'WeaponLocker'));
lockerInstance = class'ServerLevelCore'.static.GetInstance().Spawn(class'WeaponLocker');
class'WeaponLocker'.default.bCollideWorld = savedCollideWorld;
class'WeaponLocker'.default.bBlockActors = savedCollideActors;
if (lockerInstance != none)

Loading…
Cancel
Save