CRASHFIX: is_player_spectated checks if someone is inside an arena first
This commit is contained in:
parent
77c155573c
commit
177eb6d513
@ -174,7 +174,7 @@ end
|
||||
|
||||
|
||||
function arena_lib.is_player_spectated(p_name)
|
||||
return next(players_spectated[p_name])
|
||||
return players_spectated[p_name] and next(players_spectated[p_name])
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user