Fix undeclared global error in hazmat_suit

This commit is contained in:
stujones11 2016-05-18 19:41:39 +01:00
parent b14db3c43c
commit 3cf6887abd

View File

@ -11,7 +11,7 @@ if minetest.get_modpath("shields") then
level = level / 0.9
end
if count == #armor.elements then
if part_count == #armor.elements then
level = level / 1.1
end