Fixed coin script
This commit is contained in:
parent
9691a46c23
commit
e4a82bd4c8
Binary file not shown.
Binary file not shown.
@ -6,10 +6,11 @@ Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldCo
|
||||
|
||||
if akNewContainer == PlayerRef
|
||||
PlayerRef.AddPerk(EddsLuckyCoinPerk)
|
||||
elseif PlayerRef.GetItemCount(self) == 0
|
||||
elseif PlayerRef.GetItemCount(EddsLuckyCoin) == 0
|
||||
PlayerRef.RemovePerk(EddsLuckyCoinPerk)
|
||||
endif
|
||||
|
||||
endEvent
|
||||
|
||||
Perk Property EddsLuckyCoinPerk Auto
|
||||
MiscObject Property EddsLuckyCoin Auto
|
||||
|
Loading…
Reference in New Issue
Block a user