summaryrefslogtreecommitdiff
path: root/npc/functions/goodbye.txt
diff options
context:
space:
mode:
authorThibault Payet <monwarez@gmail.com>2017-10-21 18:38:09 +0200
committerThibault Payet <monwarez@gmail.com>2017-12-29 10:04:04 +0100
commit150d19a64aa2071172d530ffc50f694afb9108a5 (patch)
tree61cc156327ede3fc393c67d1b37a383578895a97 /npc/functions/goodbye.txt
parent5972a4d968a0ae67d66cb07a3d7c8db93488d4c5 (diff)
downloadserverdata-150d19a64aa2071172d530ffc50f694afb9108a5.tar.gz
serverdata-150d19a64aa2071172d530ffc50f694afb9108a5.tar.bz2
serverdata-150d19a64aa2071172d530ffc50f694afb9108a5.tar.xz
serverdata-150d19a64aa2071172d530ffc50f694afb9108a5.zip
rename closedialog to closeclientdialog
Diffstat (limited to 'npc/functions/goodbye.txt')
-rw-r--r--npc/functions/goodbye.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/goodbye.txt b/npc/functions/goodbye.txt
index 620883b8..0e8dfc2e 100644
--- a/npc/functions/goodbye.txt
+++ b/npc/functions/goodbye.txt
@@ -56,7 +56,7 @@ function script cwarp {
getmapxy .@pc_map$, .@pc_x, .@pc_y, UNITTYPE_PC; // get char location
- closedialog; // XXX: maybe send closeclientdialog in the future
+ closeclientdialog;
if (getargcount() < 1)
{
@@ -89,7 +89,7 @@ function script cwarp {
// if no npc is given, calls "#<npc> $"
function script cshop {
- closedialog; // XXX: maybe send closeclientdialog in the future
+ closeclientdialog;
shop getarg(0, "#" + strnpcinfo(0) + " $");
//close; => the shop buildin already sends close, and is a terminator itself
}
@@ -100,7 +100,7 @@ function script cshop {
// closes the dialog, then opens storage
function script cstorage {
- closedialog; // XXX: maybe send closeclientdialog in the future
+ closeclientdialog;
openstorage;
close;
}
@@ -113,7 +113,7 @@ function script cstorage {
function script bye {
.@emote = getarg(0, -1);
- closedialog; // XXX: maybe send closeclientdialog in the future
+ closeclientdialog;
if (.@emote >= 0)
emotion .@emote;