1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 11:57:58 +00:00

drawing tool now actually does enable the cheat mode

This commit is contained in:
Zeno Rogue
2025-08-29 01:51:22 +02:00
parent f4f3d6bcc1
commit 3133439b19

View File

@@ -344,10 +344,12 @@ EX void showCreative() {
dialog::addItem(XLAT("drawing tool"), 'd');
dialog::add_action([] {
dialog::cheat_if_confirmed([] {
cheater++;
mapeditor::drawing_tool = true;
mapeditor::intexture = false;
pushScreen(mapeditor::showDrawEditor);
mapeditor::initdraw(cwt.at);
addMessage(XLAT("You activate your imagination powers!"));
});
});
#endif