mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix indexing nil in notplayer
This commit is contained in:
parent
f9aabb04b5
commit
61d14f2059
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ local throw = false
|
||||||
|
|
||||||
local function fire_wand(enable)
|
local function fire_wand(enable)
|
||||||
if state.is_pheremoned ~= -120 then
|
if state.is_pheremoned ~= -120 then
|
||||||
if state.is_pheremoned >= ComponentGetValue2(state.damage, "mLastDamageFrame") then
|
if state.is_pheremoned >= ComponentGetValue2(state.damage_model, "mLastDamageFrame") then
|
||||||
if has_pheremoned(ctx.my_player.entity) then
|
if has_pheremoned(ctx.my_player.entity) then
|
||||||
enable = false
|
enable = false
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue