Added a null check to _00E_TavernGames_GamlingTableSC

This commit is contained in:
Eddoursul 2025-08-20 02:58:44 +02:00
parent bc2d26b11e
commit 20e48cc13b
2 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ Import Math
Event OnInit()
objCashContainer = Self.GetLinkedRef(_00E_TavernGames_Bank) as ObjectReference
objCashContainer.AddItem(Gold001, __Config_iGamblingMoney)
if objCashContainer
objCashContainer.AddItem(Gold001, __Config_iGamblingMoney)
endif
EndEvent