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:
parent
b4906a3840
commit
0fdc0e8acc
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue