Merge pull request #31463 from AnturK/nobodycanknowofmymistakes

Stops check antags message if round has not started yet.
This commit is contained in:
Leo
2017-10-09 18:02:00 -03:00
committed by CitadelStationBot
parent 6f2b89ae88
commit afec2b7abc

View File

@@ -391,7 +391,7 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list(
if(holder) if(holder)
holder.check_antagonists() holder.check_antagonists()
log_admin("[key_name(usr)] checked antagonists.") //for tsar~ log_admin("[key_name(usr)] checked antagonists.") //for tsar~
if(!isobserver(usr)) if(!isobserver(usr) && SSticker.HasRoundStarted())
message_admins("[key_name_admin(usr)] checked antagonists.") message_admins("[key_name_admin(usr)] checked antagonists.")
SSblackbox.add_details("admin_verb","Check Antagonists") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! SSblackbox.add_details("admin_verb","Check Antagonists") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!