Skip to content

Commit

Permalink
Update bureaucratic_error.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Oct 23, 2023
1 parent f7ea7e1 commit 953a567
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/events/bureaucratic_error.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
var/datum/job/current = job
if(!current.allow_bureaucratic_error)
continue
current.total_positions = 0
var/ran = rand(-2,4)
current.total_positions = max(current.total_positions + ran, 1)
else // Adds/removes a random amount of job slots from all jobs.
for(var/datum/job/current as anything in jobs)
if(!current.allow_bureaucratic_error)
continue
var/ran = rand(-2,4)
current.total_positions = max(current.total_positions + ran, 0)
current.total_positions = max(current.total_positions + ran, 1)

0 comments on commit 953a567

Please sign in to comment.