mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 06:13:45 +01:00
Fix undeclared global error in hazmat_suit
This commit is contained in:
parent
b14db3c43c
commit
3cf6887abd
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user