1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

dual and multiplayer are not compatible (do not appear if other is on)

This commit is contained in:
Zeno Rogue
2019-05-29 20:22:03 +02:00
parent c9655a29a5
commit c820f9a2f0
2 changed files with 5 additions and 3 deletions

View File

@@ -473,7 +473,7 @@ void showConfigureMultiplayer() {
string s = player_count_name(i);
if(i <= players) s += dsc(i-1);
dialog::addBoolItem(s, '1', i == multi::players);
dialog::add_action([i] {
if(!dual::state) dialog::add_action([i] {
dialog::do_if_confirmed([i] {
stop_game();
players = i;