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 LevelInfo level;
local ShopVolume nextShop; local ShopVolume nextShop;
local WeaponLocker replacementLocker; local WeaponLocker replacementLocker;
level = _server.unreal.GetLevel(); level = _server.unreal.GetLevel();
// Get locker // Get locker
replacementLocker = SpawnDummyWeaponLocker(); replacementLocker = SpawnDummyWeaponLocker();
@ -124,7 +125,7 @@ private final function WeaponLocker SpawnDummyWeaponLocker()
savedCollideActors = class'WeaponLocker'.default.bBlockActors; savedCollideActors = class'WeaponLocker'.default.bBlockActors;
class'WeaponLocker'.default.bCollideWorld = false; class'WeaponLocker'.default.bCollideWorld = false;
class'WeaponLocker'.default.bBlockActors = 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.bCollideWorld = savedCollideWorld;
class'WeaponLocker'.default.bBlockActors = savedCollideActors; class'WeaponLocker'.default.bBlockActors = savedCollideActors;
if (lockerInstance != none) if (lockerInstance != none)

Loading…
Cancel
Save