mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
prioritise clients
This commit is contained in:
@@ -257,9 +257,8 @@
|
|||||||
|
|
||||||
for(var/mob/M in GLOB.player_list)
|
for(var/mob/M in GLOB.player_list)
|
||||||
if(M.ckey == banckey)
|
if(M.ckey == banckey)
|
||||||
|
if(!playermob || M.client) // prioritise mobs with a client to stop the 'oops the dead body with no client got forwarded'
|
||||||
playermob = M
|
playermob = M
|
||||||
break
|
|
||||||
|
|
||||||
|
|
||||||
banreason = "(MANUAL BAN) "+banreason
|
banreason = "(MANUAL BAN) "+banreason
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user