mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 18:57:56 +00:00
ru:: clear messages when displaying inventory
This commit is contained in:
@@ -278,7 +278,7 @@ void run() {
|
|||||||
dialog::add_action([] { cmode = mode::playing; });
|
dialog::add_action([] { cmode = mode::playing; });
|
||||||
|
|
||||||
dialog::addItem("inventory", 'i');
|
dialog::addItem("inventory", 'i');
|
||||||
dialog::add_action([] { cmode = mode::inventory; });
|
dialog::add_action([] { clearMessages(); cmode = mode::inventory; });
|
||||||
|
|
||||||
dialog::addItem("map editor", 'e');
|
dialog::addItem("map editor", 'e');
|
||||||
dialog::add_action([] { cmode = mode::editmap; });
|
dialog::add_action([] { cmode = mode::editmap; });
|
||||||
|
Reference in New Issue
Block a user