mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Quick fixes again, firstly, you won't hear emotes at the login screen (Didn't realize new_player was being put into the dead list), and admins that are promoted/demoted will be added/removed to the list as needed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4206 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1454,6 +1454,7 @@ var/global/BSACooldown = 0
|
|||||||
log_admin("[key_name(usr)] has removed [C]'s adminship")
|
log_admin("[key_name(usr)] has removed [C]'s adminship")
|
||||||
message_admins("[key_name_admin(usr)] has removed [C]'s adminship", 1)
|
message_admins("[key_name_admin(usr)] has removed [C]'s adminship", 1)
|
||||||
admins.Remove(C.ckey)
|
admins.Remove(C.ckey)
|
||||||
|
admin_list -= C.mob
|
||||||
else
|
else
|
||||||
if(C == owner) //no promoting/demoting yourself
|
if(C == owner) //no promoting/demoting yourself
|
||||||
message_admins("[C] tried to change their own admin-rank >:(")
|
message_admins("[C] tried to change their own admin-rank >:(")
|
||||||
@@ -1463,6 +1464,7 @@ var/global/BSACooldown = 0
|
|||||||
log_admin("[key_name(usr)] has made [C] a [rank]")
|
log_admin("[key_name(usr)] has made [C] a [rank]")
|
||||||
message_admins("[key_name_admin(usr)] has made [C] a [rank]", 1)
|
message_admins("[key_name_admin(usr)] has made [C] a [rank]", 1)
|
||||||
admins[C.ckey] = rank
|
admins[C.ckey] = rank
|
||||||
|
admin_list |= C.mob
|
||||||
|
|
||||||
|
|
||||||
if (href_list["object_list"])
|
if (href_list["object_list"])
|
||||||
|
|||||||
@@ -751,6 +751,7 @@
|
|||||||
src.clear_admin_verbs()
|
src.clear_admin_verbs()
|
||||||
src.update_admins(null)
|
src.update_admins(null)
|
||||||
admins.Remove(src.ckey)
|
admins.Remove(src.ckey)
|
||||||
|
admin_list -= src.mob
|
||||||
usr << "You are now a normal player."
|
usr << "You are now a normal player."
|
||||||
feedback_add_details("admin_verb","DAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","DAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
log_emote("[name]/[key] : [message]")
|
log_emote("[name]/[key] : [message]")
|
||||||
|
|
||||||
for(var/mob/M in dead_mob_list)
|
for(var/mob/M in dead_mob_list)
|
||||||
if (!M.client)
|
if (!M.client || istype(M, /mob/new_player))
|
||||||
continue //skip monkeys and leavers
|
continue //skip monkeys, leavers, and new_players
|
||||||
if(M.stat == 2 && M.client.ghost_sight && !(M in viewers(src,null)))
|
if(M.stat == 2 && M.client.ghost_sight && !(M in viewers(src,null)))
|
||||||
M.show_message(message)
|
M.show_message(message)
|
||||||
|
|
||||||
|
|||||||
@@ -475,8 +475,8 @@
|
|||||||
// Maybe some people are okay with that.
|
// Maybe some people are okay with that.
|
||||||
|
|
||||||
for(var/mob/M in dead_mob_list)
|
for(var/mob/M in dead_mob_list)
|
||||||
if (!M.client)
|
if (!M.client || istype(M, /mob/new_player))
|
||||||
continue //skip monkeys and leavers
|
continue //skip monkeys, leavers and new players
|
||||||
if(M.stat == 2 && M.client.ghost_sight && !(M in viewers(src,null)))
|
if(M.stat == 2 && M.client.ghost_sight && !(M in viewers(src,null)))
|
||||||
M.show_message(message)
|
M.show_message(message)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user