fixed assignment to undeclared global 'phasearmor'

This commit is contained in:
juraj 2016-02-26 23:11:36 +01:00
parent a202365814
commit 0314d4404b

View File

@ -93,7 +93,7 @@ minetest.register_entity("clams:whiteshell", {
self.phase = 0
end
self.object:setsprite({x=0, y=self.phase})
phasearmor = {
local phasearmor = {
[0]={fleshy=0},
[1]={fleshy=30},
[2]={fleshy=70}