Skip to content

Commit

Permalink
add redis publish for admins toggling pred rounds
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed May 22, 2024
1 parent 139fe26 commit 0b0bb68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/admin/tabs/round_tab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
if(istype(PJ) && !PJ.spawn_positions)
PJ.set_spawn_positions(GLOB.players_preassigned)
predator_round.flags_round_type |= MODE_PREDATOR
REDIS_PUBLISH("byond.round", "type" = "predator-round", "map" = SSmapping.configs[GROUND_MAP].map_name)
else
predator_round.flags_round_type &= ~MODE_PREDATOR

Expand Down

0 comments on commit 0b0bb68

Please sign in to comment.