Home
/
risinglegends.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9325533
)
fix: back to town button after healing
author
xangelo
<git@xangelo.ca>
Thu, 27 Jul 2023 14:50:29 +0000
(10:50 -0400)
committer
xangelo
<git@xangelo.ca>
Thu, 27 Jul 2023 14:50:29 +0000
(10:50 -0400)
src/events/healer/server.ts
patch
|
blob
|
history
diff --git
a/src/events/healer/server.ts
b/src/events/healer/server.ts
index e3f363491a4750126f978d991f4bfd858882eb89..df8fb8ad80b6003193e8c9fb1b30d1bd8fde6a68 100644
(file)
--- a/
src/events/healer/server.ts
+++ b/
src/events/healer/server.ts
@@
-163,6
+163,7
@@
export const heal: SocketEvent = {
text.push(`<p>${getText('heal_successful', service, city)}</p>`);
+ text.push('<p><button class="emit-event-internal" data-event="tab:explore">Back to Town</button></p>');
api.socket.emit('city:service:healer', {
text: text.join("\n")
});