mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix angy ghost not hurting notplayer
This commit is contained in:
parent
df36bc7e5a
commit
2069bdce0a
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ function wand_fired( wand_id )
|
|||
local shooter
|
||||
if EntityHasTag(root, "ew_peer") and not EntityHasTag(root, "ew_notplayer") then
|
||||
shooter = EntityGetWithTag("player_unit")[1]
|
||||
if EntityHasTag(shooter, "ew_notplayer") then
|
||||
shooter = root
|
||||
end
|
||||
else
|
||||
shooter = root
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue