Skip to content

Commit

Permalink
Proper antag numbers in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Drsmail committed Dec 22, 2024
1 parent 4daee8e commit 5ccfd87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/modules/admin/verbs/one_click_antag.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"}
// SS220 ADD - Start
dat += {"
<a href='byond://?src=[UID()];makeAntag=8'>Make Blood Brothers Team</a><br>
<a href='byond://?src=[UID()];makeAntag=9'>Make Vox Raiders</a><br>
<a href='byond://?src=[UID()];makeAntag=9'>Make Blood Brothers Team</a><br>
<a href='byond://?src=[UID()];makeAntag=10'>Make Vox Raiders</a><br>
"}
// SS220 ASS - End
usr << browse(dat, "window=oneclickantag;size=400x400")
Expand Down
4 changes: 2 additions & 2 deletions modular_ss220/antagonists/code/mind/memory_edit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
. = ..()
if(href_list["makeAntag"])
switch(href_list["makeAntag"])
if("8")
if("9")
log_admin("[key_name(usr)] has spawned a blood brothers.")
if(!makeBloodBrothersTeam())
to_chat(usr, "<span class='warning'>К сожалению, недостаточно кандидатов.</span>")
if("9")
if("10")
log_admin("[key_name(usr)] has spawned a vox raiders.")
if(!makeVoxRaidersTeam())
to_chat(usr, "<span class='warning'>К сожалению, недостаточно кандидатов.</span>")
Expand Down

0 comments on commit 5ccfd87

Please sign in to comment.