Merge pull request #14280 from timothyteakettle/banning-panel-fix

prioritises mobs with clients in the banning panel
This commit is contained in:
silicons
2021-02-21 19:04:53 -07:00
committed by GitHub

View File

@@ -257,9 +257,8 @@
for(var/mob/M in GLOB.player_list)
if(M.ckey == banckey)
playermob = M
break
if(!playermob || M.client) // prioritise mobs with a client to stop the 'oops the dead body with no client got forwarded'
playermob = M
banreason = "(MANUAL BAN) "+banreason