add some comments

This commit is contained in:
GenZmeY 2022-07-07 01:11:11 +03:00
parent e3535715fa
commit 559eae0298

View File

@ -69,6 +69,10 @@ public static simulated function PreloadWeapon(class<KFWeaponDefinition> WeapDef
KFW = class<KFWeapon> (DynamicLoadObject(WeapDef.default.WeaponClassPath, class'Class')); KFW = class<KFWeapon> (DynamicLoadObject(WeapDef.default.WeaponClassPath, class'Class'));
if (KFW != None) if (KFW != None)
{ {
// This doesn't seem to have any effect right now,
// so we're forced to use a workaround: CTI_RepInfo.PreloadContentWorkaround()
// 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); class'KFWeapon'.static.TriggerAsyncContentLoad(KFW);
} }
} }