1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 07:30:26 +00:00

rulegen-tests:: fix gamescreen

This commit is contained in:
Zeno Rogue 2022-07-11 12:19:30 +02:00
parent c775936970
commit 46cf751200

View File

@ -223,7 +223,7 @@ void try_sprawling(tcell *c) {
void debug_menu() {
cmode = sm::SIDE | sm::MAYDARK;
gamescreen(0);
gamescreen();
auto m = dynamic_cast<hrmap_testproto*> (currentmap);
dialog::init("debug menu");
@ -264,7 +264,7 @@ void debug_menu() {
dialog::addItem("debug tiles", 'd');
dialog::add_action_push([m] {
cmode = sm::SIDE | sm::MAYDARK;
gamescreen(0);
gamescreen();
dialog::init();
for(auto dw: debuglist) {
dialog::addItem("go to " + index_pointer(dw.at), 'a');