fix: Accessed None 'Data' (Ext_TraitSupply)
ScriptWarning: Accessed None 'Data' 011Ext_TraitSupply ServerExt.Default__Ext_TraitSupply 011Function ServerExt.Ext_TraitSupply:CancelEffectOn:0014
This commit is contained in:
parent
d804cdc3bd
commit
431a429926
@ -4,17 +4,17 @@ var() Texture2D SupplyIcon;
|
||||
|
||||
static function ApplyEffectOn(KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
||||
{
|
||||
Ext_TraitSupplyData(Data).SpawnSupplier(Player);
|
||||
if (Data != None) Ext_TraitSupplyData(Data).SpawnSupplier(Player);
|
||||
}
|
||||
|
||||
static function CancelEffectOn(KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
||||
{
|
||||
Ext_TraitSupplyData(Data).RemoveSupplier();
|
||||
if (Data != None) Ext_TraitSupplyData(Data).RemoveSupplier();
|
||||
}
|
||||
|
||||
static function PlayerDied(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
||||
{
|
||||
Ext_TraitSupplyData(Data).RemoveSupplier();
|
||||
if (Data != None) Ext_TraitSupplyData(Data).RemoveSupplier();
|
||||
}
|
||||
|
||||
defaultproperties
|
||||
|
Loading…
Reference in New Issue
Block a user