fixed assignment to undeclared global 'phasearmor'

This commit is contained in:
juraj 2016-02-26 23:11:36 +01:00
parent a202365814
commit 0314d4404b
1 changed files with 1 additions and 1 deletions

View File

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