mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
fix notplayer being invincible on poly death
This commit is contained in:
parent
803ecbd380
commit
ffb2b9689a
1 changed files with 5 additions and 1 deletions
|
@ -346,7 +346,11 @@ ctx.cap.health = {
|
|||
else
|
||||
local ent = end_poly_effect(ctx.my_player.entity)
|
||||
ctx.my_player.entity = ent
|
||||
player_died()
|
||||
polymorph.switch_entity(ent)
|
||||
async(function()
|
||||
wait(1)
|
||||
player_died()
|
||||
end)
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue