Skip to content

Commit

Permalink
Fixes rev not working (for real this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlavoredCactus committed Feb 17, 2016
1 parent 32f7d7c commit 716f8ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/gamemodes/revolution/revolution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
for (var/i=1 to max_headrevs)
if (antag_candidates.len==0)
break
if (head_revolutionaries >= head_check)
if (head_revolutionaries.len >= head_check)
break
var/datum/mind/lenin = pick(antag_candidates)
antag_candidates -= lenin
Expand Down
3 changes: 3 additions & 0 deletions code/game/gameticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ var/global/last_tick_duration = 0

if(!Debug2)
if(!can_continue)
var/logged_mode = mode.name
del(mode)
current_state = GAME_STATE_PREGAME
world << "<B>Error setting up [master_mode].</B> Reverting to pre-game lobby."
message_admins("\blue Error setting up [logged_mode].", 1)
log_game("\blue Error setting up [logged_mode].")
job_master.ResetOccupations()
return 0
else
Expand Down

0 comments on commit 716f8ee

Please sign in to comment.