mirror of
https://github.com/Mestima/wanda.git
synced 2025-06-27 12:49:37 +00:00
crash hotfix
This commit is contained in:
@ -45,7 +45,7 @@ local function GetWatch(watchType)
|
|||||||
end
|
end
|
||||||
end
|
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
|
for k, v in pairs(bagitems) do
|
||||||
if (v.prefab == watchType and v:HasTag("pocketwatch_inactive")) then
|
if (v.prefab == watchType and v:HasTag("pocketwatch_inactive")) then
|
||||||
watch = v
|
watch = v
|
||||||
|
Reference in New Issue
Block a user