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:
@@ -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
|
||||
|
Reference in New Issue
Block a user