fix: back to town button after healing
authorxangelo <git@xangelo.ca>
Thu, 27 Jul 2023 14:50:29 +0000 (10:50 -0400)
committerxangelo <git@xangelo.ca>
Thu, 27 Jul 2023 14:50:29 +0000 (10:50 -0400)
src/events/healer/server.ts

index e3f363491a4750126f978d991f4bfd858882eb89..df8fb8ad80b6003193e8c9fb1b30d1bd8fde6a68 100644 (file)
@@ -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")
     });