mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix error in last commits
This commit is contained in:
parent
5aac694ecd
commit
eaa74dd772
1 changed files with 4 additions and 4 deletions
|
@ -684,7 +684,7 @@ function pvp.on_world_update()
|
|||
end
|
||||
end
|
||||
if hm_y == nil then
|
||||
if GameGetFrameNum % 121 == 27 then
|
||||
if GameGetFrameNum() % 121 == 27 then
|
||||
local ents = EntityGetWithTag("item_perk") or {}
|
||||
for _, ent in ipairs(ents) do
|
||||
x, y = EntityGetTransform(ent)
|
||||
|
@ -693,7 +693,7 @@ function pvp.on_world_update()
|
|||
end
|
||||
end
|
||||
end
|
||||
if GameGetFrameNum % 121 == 47 then
|
||||
if GameGetFrameNum() % 121 == 47 then
|
||||
local ents = EntityGetWithTag("wand") or {}
|
||||
for _, ent in ipairs(ents) do
|
||||
x, y = EntityGetTransform(ent)
|
||||
|
@ -705,7 +705,7 @@ function pvp.on_world_update()
|
|||
end
|
||||
end
|
||||
end
|
||||
if GameGetFrameNum % 121 == 67 then
|
||||
if GameGetFrameNum() % 121 == 67 then
|
||||
local ents = EntityGetWithTag("card_action") or {}
|
||||
for _, ent in ipairs(ents) do
|
||||
x, y = EntityGetTransform(ent)
|
||||
|
@ -717,7 +717,7 @@ function pvp.on_world_update()
|
|||
end
|
||||
end
|
||||
end
|
||||
if GameGetFrameNum % 121 == 87 then
|
||||
if GameGetFrameNum() % 121 == 87 then
|
||||
local ents = EntityGetWithTag("workshop") or {}
|
||||
for _, ent in ipairs(ents) do
|
||||
x, _ = EntityGetTransform(ent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue