Update Helper.uc
This commit is contained in:
parent
47a4480771
commit
c1e9a436c4
@ -69,8 +69,7 @@ public static simulated function PreloadWeapon(class<KFWeaponDefinition> WeapDef
|
||||
KFW = class<KFWeapon> (DynamicLoadObject(WeapDef.default.WeaponClassPath, class'Class'));
|
||||
if (KFW != None)
|
||||
{
|
||||
// This doesn't seem to have any effect right now,
|
||||
// so we're forced to use a workaround: CTI_RepInfo.ServerPreloadWeaponWorkaround()
|
||||
// This doesn't seem to have any effect right now
|
||||
// But I still leave it for the future
|
||||
// in the hope that someday we can preload weapon models using this function
|
||||
class'KFWeapon'.static.TriggerAsyncContentLoad(KFW);
|
||||
@ -80,4 +79,4 @@ public static simulated function PreloadWeapon(class<KFWeaponDefinition> WeapDef
|
||||
defaultproperties
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user