mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
-Redid admin_list to be based off clients rather than mobs (Why I did it with mobs first, I'll never know). This fixes AdminWho and Asay and such not working pre-game.
-Added in the proper list stuff for changeling stasis -Added a verb to the debug list (Game Admin+) to check the mob lists instead of requiring the item (Works the same way) Fixes Issue 708 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4240 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
if( connection != "seeker" )
|
||||
del(src)
|
||||
return
|
||||
client_list |= src
|
||||
client_list += src
|
||||
if ( (world.address == address || !address) && !host )
|
||||
host = key
|
||||
world.update_status()
|
||||
@@ -103,7 +103,9 @@
|
||||
if( ckey in admins )
|
||||
holder = new /obj/admins(src)
|
||||
holder.rank = admins[ckey]
|
||||
admin_list += src
|
||||
update_admins(admins[ckey])
|
||||
|
||||
admin_memo_show()
|
||||
|
||||
|
||||
@@ -111,10 +113,10 @@
|
||||
//DISCONNECT//
|
||||
//////////////
|
||||
/client/Del()
|
||||
client_list.Remove(ckey)
|
||||
|
||||
spawn(0)
|
||||
if(holder)
|
||||
admin_list -= src
|
||||
del(holder)
|
||||
client_list -= src
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user