Update Helper.uc

This commit is contained in:
GenZmeY 2022-07-09 23:10:27 +03:00 committed by GitHub
parent 47a4480771
commit c1e9a436c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);