mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
fix not being able to see your own perks as notplayer after spectating
This commit is contained in:
parent
7b7ddd30ac
commit
f281e2ddbf
1 changed files with 2 additions and 1 deletions
|
@ -166,8 +166,9 @@ local function target()
|
||||||
end
|
end
|
||||||
attached = false
|
attached = false
|
||||||
end
|
end
|
||||||
if camera_target == ctx.my_player then
|
if cam_target == ctx.my_player then
|
||||||
perks_ui(true)
|
perks_ui(true)
|
||||||
|
else
|
||||||
if not EntityHasTag(ctx.my_player.entity, "ew_notplayer") then
|
if not EntityHasTag(ctx.my_player.entity, "ew_notplayer") then
|
||||||
nickname.add_label(ctx.my_player.entity, ctx.my_player.name, "data/fonts/font_pixel_white.xml", 0.75)
|
nickname.add_label(ctx.my_player.entity, ctx.my_player.name, "data/fonts/font_pixel_white.xml", 0.75)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue