Skip to content

Commit

Permalink
makes sec officers count for 3x players
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Oct 26, 2023
1 parent 22eedde commit a5262ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monkestation/code/modules/storytellers/gamemode_subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ SUBSYSTEM_DEF(gamemode)

/// Gets the number of antagonists the antagonist injection events will stop rolling after.
/datum/controller/subsystem/gamemode/proc/get_antag_cap()
var/cap = FLOOR((get_correct_popcount() / ANTAG_CAP_DENOMINATOR), 1) + ANTAG_CAP_FLAT
var/total_number = get_correct_popcount() + (sec_crew * 2)
var/cap = FLOOR((total_number / ANTAG_CAP_DENOMINATOR), 1) + ANTAG_CAP_FLAT
return cap

/// Whether events can inject more antagonists into the round
Expand Down

0 comments on commit a5262ff

Please sign in to comment.