mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
actually delay the end fight midas death
This commit is contained in:
parent
e8e1343244
commit
672bc5cadb
1 changed files with 2 additions and 2 deletions
|
@ -117,13 +117,13 @@ function end_fight.on_world_update()
|
|||
end
|
||||
end
|
||||
if not exists and not EntityHasTag(ctx.my_player.entity, "ew_notplayer") then
|
||||
if try_kill <= GameGetFrameNum() then
|
||||
if try_kill <= GameGetFrameNum() and try_kill ~= -1 then
|
||||
local x, y = EntityGetTransform(ctx.my_player.entity)
|
||||
rpc.try_kill(x, y)
|
||||
done = true
|
||||
return
|
||||
elseif try_kill == -1 then
|
||||
try_kill = GameGetFrameNum() + 180
|
||||
try_kill = GameGetFrameNum() + 60
|
||||
end
|
||||
else
|
||||
try_kill = -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue