mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 01:07:57 +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::addItem("inventory", 'i');
|
||||
dialog::add_action([] { cmode = mode::inventory; });
|
||||
dialog::add_action([] { clearMessages(); cmode = mode::inventory; });
|
||||
|
||||
dialog::addItem("map editor", 'e');
|
||||
dialog::add_action([] { cmode = mode::editmap; });
|
||||
|
Reference in New Issue
Block a user