Skip to content

Commit

Permalink
Ignore another crash for now
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed May 21, 2024
1 parent cbf7eeb commit 85ce128
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mods/ctf/ctf_modebase/features.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ local function set_playertags_state(state)

if nametag and team_nametag and symbol_entity and
nametag.object.set_observers and team_nametag.object.set_observers and symbol_entity.object.set_observers then
team_nametag.object:set_observers({})
symbol_entity.object:set_observers({})
nametag.object:set_observers({})
pcall(function()
team_nametag.object:set_observers({})
symbol_entity.object:set_observers({})
nametag.object:set_observers({})
end)
end
end
end
Expand Down

0 comments on commit 85ce128

Please sign in to comment.