We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbf7eeb commit 85ce128Copy full SHA for 85ce128
mods/ctf/ctf_modebase/features.lua
@@ -115,9 +115,11 @@ local function set_playertags_state(state)
115
116
if nametag and team_nametag and symbol_entity and
117
nametag.object.set_observers and team_nametag.object.set_observers and symbol_entity.object.set_observers then
118
- team_nametag.object:set_observers({})
119
- symbol_entity.object:set_observers({})
120
- nametag.object:set_observers({})
+ pcall(function()
+ team_nametag.object:set_observers({})
+ symbol_entity.object:set_observers({})
121
+ nametag.object:set_observers({})
122
+ end)
123
end
124
125
0 commit comments