Skip to content

Commit

Permalink
default to a random venue if online leader with black venue
Browse files Browse the repository at this point in the history
  • Loading branch information
jnackmclain committed Sep 20, 2023
1 parent ee7a0fa commit f7f91cb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _ark/dx/macros/dx_game_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@
}
}
)
(none
{if_else {&& {! {session_mgr is_local}} {is_leader_local}}
{do
{gamecfg set_venue {random_elem (VENUES)}}
{meta_performer set_venue {random_elem (VENUES)}}
}
{if {&& {session_mgr is_local} {is_leader_local}}
{gamecfg set_venue none}
{meta_performer set_venue none}
}
}
)
{do {gamecfg set_venue $dx_venue} {meta_performer set_venue $dx_venue}}
}
{if_else {modifier_mgr is_modifier_active mod_nomv}
Expand Down

0 comments on commit f7f91cb

Please sign in to comment.