home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In clients, don't open item selection menu when no item in reach.
[plomrogue2]
/
rogue_chat.html
diff --git
a/rogue_chat.html
b/rogue_chat.html
index 42b0362a4504aaed05882693cdbd05ead1c51171..1b501b5189354e70fcb5658c61db8a62e4acb862 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-853,7
+853,10
@@
let tui = {
}
};
if (this.selectables.length == 0) {
}
};
if (this.selectables.length == 0) {
- this.log_msg('none')
+ this.log_msg('none');
+ terminal.blink_screen();
+ this.switch_mode('play');
+ return;
} else {
for (let [i, t] of this.selectables.entries()) {
this.log_msg(i + ': ' + explorer.get_thing_info(t[1]));
} else {
for (let [i, t] of this.selectables.entries()) {
this.log_msg(i + ': ' + explorer.get_thing_info(t[1]));