mirror of
https://github.com/Mestima/wanda.git
synced 2025-05-03 13:40:15 +00:00
crash hotfix
This commit is contained in:
parent
656364ea18
commit
4c4eff6b6d
@ -45,7 +45,7 @@ local function GetWatch(watchType)
|
||||
end
|
||||
end
|
||||
end
|
||||
if (watch ~= nil) then return watch end
|
||||
if (watch ~= nil or bagitems == nil) then return watch end
|
||||
for k, v in pairs(bagitems) do
|
||||
if (v.prefab == watchType and v:HasTag("pocketwatch_inactive")) then
|
||||
watch = v
|
||||
|
Loading…
x
Reference in New Issue
Block a user