mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +00:00
Bugfixes.
Also, changed minimal amount of chemical reactive from 1 to 0.1, this should fix several issues with chemistry and eating. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1728 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1545,6 +1545,8 @@ var/showadminmessages = 1
|
||||
usr << browse(dat, "window=adminplayeropts;size=480x150")
|
||||
|
||||
/obj/admins/proc/player()
|
||||
if (!usr.client.holder)
|
||||
return
|
||||
var/dat = "<html><head><title>Player Menu</title></head>"
|
||||
dat += "<body><table border=1 cellspacing=5><B><tr><th>Name</th><th>Real Name</th><th>Key</th><th>Options</th><th>PM</th><th>Traitor?</th><th>Karma</th></tr></B>"
|
||||
//add <th>IP:</th> to this if wanting to add back in IP checking
|
||||
@@ -1587,7 +1589,7 @@ var/showadminmessages = 1
|
||||
"}
|
||||
switch(is_special_character(M))
|
||||
if(0)
|
||||
dat += {"<td align=center><A HREF='?src=\ref[src];traitor=\ref[M]'>]Traitor?</A></td>"}
|
||||
dat += {"<td align=center><A HREF='?src=\ref[src];traitor=\ref[M]'>Traitor?</A></td>"}
|
||||
if(1)
|
||||
dat += {"<td align=center><A HREF='?src=\ref[src];traitor=\ref[M]'><font color=red>Traitor?</font></A></td>"}
|
||||
if(2)
|
||||
@@ -1632,7 +1634,7 @@ var/showadminmessages = 1
|
||||
"}
|
||||
switch(is_special_character(M))
|
||||
if(0)
|
||||
dat += {"<td align=center><A HREF='?src=\ref[src];traitor=\ref[M]'>]Traitor?</A></td>"}
|
||||
dat += {"<td align=center><A HREF='?src=\ref[src];traitor=\ref[M]'>Traitor?</A></td>"}
|
||||
if(1)
|
||||
dat += {"<td align=center><A HREF='?src=\ref[src];traitor=\ref[M]'><font color=red>Traitor?</font></A></td>"}
|
||||
if(2)
|
||||
@@ -1709,6 +1711,8 @@ var/showadminmessages = 1
|
||||
usr << browse(dat, "window=ban;size=300x400")
|
||||
*/
|
||||
/obj/admins/proc/Secrets()
|
||||
if (!usr.client.holder)
|
||||
return
|
||||
|
||||
var/lvl = 0
|
||||
switch(src.rank)
|
||||
@@ -1840,6 +1844,8 @@ var/showadminmessages = 1
|
||||
set category = "Server"
|
||||
set name = "Start Vote"
|
||||
set desc="Starts vote"
|
||||
if (!usr.client.holder)
|
||||
return
|
||||
var/confirm = alert("What vote would you like to start?", "Vote", "Restart", "Change Game Mode", "Cancel")
|
||||
if(confirm == "Cancel")
|
||||
return
|
||||
@@ -1923,6 +1929,8 @@ var/showadminmessages = 1
|
||||
set category = "Server"
|
||||
set name = "Restart"
|
||||
set desc="Restarts the world"
|
||||
if (!usr.client.holder)
|
||||
return
|
||||
var/confirm = alert("Restart the game world?", "Restart", "Yes", "Cancel")
|
||||
if(confirm == "Cancel")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user