loot: add fallback values for missing players

This commit is contained in:
Road-block
2017-10-01 19:28:03 +03:00
committed by shagu
parent 911f43d7c5
commit fb1642b6b9
+3
View File
@@ -240,6 +240,9 @@ do -- create a scope so we don't have to worry about upvalue collisions
end
end
end
-- fallback for GetMasterLootCandidate not updating immediately for leavers
unitinfo.lclass,unitinfo.class = _G.UNKNOWN, "UNKNOWN"
return unitinfo
end
end