Cleaning, bandages handling

This commit is contained in:
ZioPao
2023-11-15 11:07:15 +01:00
parent 46bc6030fe
commit c9b41838be
8 changed files with 84 additions and 28 deletions

View File

@@ -24,7 +24,7 @@ function ModDataHandler:new(username, isResetForced)
ModData.request(key)
o.tocData = ModData.get(key)
if isResetForced or o.tocData == nil or o.tocData.limbs.Hand_L == nil or o.tocData.limbs.Hand_L.isCut == nil then
if isResetForced or o.tocData == nil or o.tocData.limbs == nil or o.tocData.limbs.Hand_L == nil or o.tocData.limbs.Hand_L.isCut == nil then
TOC_DEBUG.print("tocData in ModDataHandler for " .. username .. " is nil, creating it now")
o:setup(key)
end