mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Removed non-antag chars suicide verb.
This commit is contained in:
@@ -11,6 +11,19 @@
|
||||
src << "You can't commit suicide before the game starts!"
|
||||
return
|
||||
|
||||
|
||||
var/permitted = 0
|
||||
var/list/allowed = list("Syndicate","traitor","Wizard","Head Revolutionary","Cultist","Changeling")
|
||||
for(var/T in allowed)
|
||||
if(mind.special_role == T)
|
||||
permitted = 1
|
||||
break
|
||||
|
||||
if(!permitted)
|
||||
message_admins("[ckey] has tried to suicide, but they were not permitted due to not being antagonist as human.", 1)
|
||||
src << "No. Adminhelp if there is a legitimate reason."
|
||||
return
|
||||
|
||||
if (suiciding)
|
||||
src << "You're already committing suicide! Be patient!"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user