Removes a bunch of sleep(-1) and spawn(-1) from the code

This seems to be causing issues where if the queue was too long, byond would attempt to process through all of it while hanging everything else.
This commit is contained in:
MrStonedOne
2016-01-04 15:17:12 -08:00
parent c13a2f97e5
commit fd80575f38
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ var/list/admin_ranks = list() //list of all admin_rank datums
name = init_name
switch(name)
if("Removed",null,"")
spawn(-1)
spawn(0)
qdel(src)
throw EXCEPTION("invalid admin-rank name")
return
+2 -2
View File
@@ -16,12 +16,12 @@ var/list/admin_datums = list()
/datum/admins/New(datum/admin_rank/R, ckey)
if(!ckey)
spawn(-1)
spawn(0)
del(src)
throw EXCEPTION("Admin datum created without a ckey")
return
if(!istype(R))
spawn(-1)
spawn(0)
del(src)
throw EXCEPTION("Admin datum created without a rank")
return