Added a null check to _00E_TavernGames_GamlingTableSC
This commit is contained in:
parent
bc2d26b11e
commit
20e48cc13b
Binary file not shown.
@ -11,7 +11,10 @@ Import Math
|
|||||||
Event OnInit()
|
Event OnInit()
|
||||||
|
|
||||||
objCashContainer = Self.GetLinkedRef(_00E_TavernGames_Bank) as ObjectReference
|
objCashContainer = Self.GetLinkedRef(_00E_TavernGames_Bank) as ObjectReference
|
||||||
objCashContainer.AddItem(Gold001, __Config_iGamblingMoney)
|
|
||||||
|
if objCashContainer
|
||||||
|
objCashContainer.AddItem(Gold001, __Config_iGamblingMoney)
|
||||||
|
endif
|
||||||
|
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user