mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-24 15:00:14 +00:00
racing:: 'two players' option should work now
This commit is contained in:
parent
c313f59c87
commit
2cb19e153d
@ -801,6 +801,8 @@ string racetimeformat(int t) {
|
|||||||
return times;
|
return times;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern int playercfg;
|
||||||
|
|
||||||
void track_chooser(string new_track) {
|
void track_chooser(string new_track) {
|
||||||
cmode = 0;
|
cmode = 0;
|
||||||
gamescreen(2);
|
gamescreen(2);
|
||||||
@ -825,6 +827,7 @@ void track_chooser(string new_track) {
|
|||||||
dialog::addSelItem(XLAT1(linf[l].name), s, let++);
|
dialog::addSelItem(XLAT1(linf[l].name), s, let++);
|
||||||
dialog::add_action([l, new_track] () {
|
dialog::add_action([l, new_track] () {
|
||||||
stop_game();
|
stop_game();
|
||||||
|
multi::players = playercfg;
|
||||||
if(!racing::on) switch_game_mode(rg::racing);
|
if(!racing::on) switch_game_mode(rg::racing);
|
||||||
track_code = new_track;
|
track_code = new_track;
|
||||||
specialland = l;
|
specialland = l;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user