mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Hopefully fixes the handle_regular_status_updates runtime. Also adds option for admins to allow Taj/Sog for a round on the player panel. This needs to be done before spawning!
This commit is contained in:
@@ -1267,6 +1267,31 @@ var/global/BSACooldown = 0
|
||||
else
|
||||
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
||||
return
|
||||
|
||||
if (href_list["granttaj"])
|
||||
if (src.level>=5)
|
||||
var/mob/M = locate(href_list["granttaj"])
|
||||
for (var/s in alien_whitelist)
|
||||
if(findtext(s,"[M.ckey] - Tajaran"))
|
||||
alert("This key is already on the whitelist!", null, null, null, null, null)
|
||||
return
|
||||
alien_whitelist += "[M.ckey] - Tajaran"
|
||||
else
|
||||
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
||||
return
|
||||
|
||||
if (href_list["grantsog"])
|
||||
if (src.level>=5)
|
||||
var/mob/M = locate(href_list["grantsog"])
|
||||
for (var/s in alien_whitelist)
|
||||
if(findtext(s,"[M.ckey] - Soghun"))
|
||||
alert("This key is already on the whitelist!", null, null, null, null, null)
|
||||
return
|
||||
alien_whitelist += "[M.ckey] - Soghun"
|
||||
else
|
||||
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
||||
return
|
||||
|
||||
/***************** BEFORE**************
|
||||
|
||||
if (href_list["l_players"])
|
||||
@@ -2473,6 +2498,8 @@ var/global/BSACooldown = 0
|
||||
body += "<A href='?src=\ref[src];tdome2=\ref[M]'>Thunderdome 2</A> | "
|
||||
body += "<A href='?src=\ref[src];tdomeadmin=\ref[M]'>Thunderdome Admin</A> | "
|
||||
body += "<A href='?src=\ref[src];tdomeobserve=\ref[M]'>Thunderdome Observer</A> | "
|
||||
body += "<A href='?src=\ref[src];granttaj=\ref[M]'>Grant Tajaran (Temp)</A> | "
|
||||
body += "<A href='?src=\ref[src];grantsog=\ref[M]'>Grant Soghun (Temp)</A> | "
|
||||
|
||||
body += "<br>"
|
||||
body += "</body></html>"
|
||||
|
||||
Reference in New Issue
Block a user