Merge pull request #7711 from Citadel-Station-13/kevinz000-patch-9

Adds automatic pruning of GLOB.player_list (mute bug autofix)
This commit is contained in:
deathride58
2018-11-16 23:18:22 -05:00
committed by GitHub
@@ -18,6 +18,8 @@ SUBSYSTEM_DEF(server_maint)
if(!resumed)
if(listclearnulls(GLOB.clients))
log_world("Found a null in clients list!")
if(listclearnulls(GLOB.player_list))
log_world("Found a null in player list!")
src.currentrun = GLOB.clients.Copy()
var/list/currentrun = src.currentrun