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 hat and face edit, use existing value as default input.
[plomrogue2]
/
rogue_chat.html
diff --git
a/rogue_chat.html
b/rogue_chat.html
index 26322e94a31c3e797a07924704bfb4e3963e983c..d86eec5ee65d4c3e06f43b55ac351a22cb13f225 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-953,6
+953,10
@@
let tui = {
if (t && t.protection) {
this.inputEl.value = t.protection;
}
if (t && t.protection) {
this.inputEl.value = t.protection;
}
+ } else if (this.mode.name == 'enter_face' && game.player.face) {
+ this.inputEl.value = game.player.face;
+ } else if (this.mode.name == 'enter_hat' && game.player.hat) {
+ this.inputEl.value = game.player.hat;
}
},
recalc_input_lines: function() {
}
},
recalc_input_lines: function() {