1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

Delete spinycrab glow on death. Fixes #16.

This commit is contained in:
fgenesis 2015-01-14 21:40:54 +01:00
parent b4906a3840
commit 0fdc0e8acc

View file

@ -119,6 +119,9 @@ function enterState(me)
quad_alpha(v.glow, 0, 3) quad_alpha(v.glow, 0, 3)
bone_alpha(v.eyes, 0, 3) bone_alpha(v.eyes, 0, 3)
entity_animate(me, "runAway", -1) entity_animate(me, "runAway", -1)
elseif entity_isState(me, STATE_DEAD) then
quad_delete(v.glow)
v.glow = 0
end end
end end