summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/welcome.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/commands/welcome.txt b/npc/commands/welcome.txt
index bce0c58e9..00304472d 100644
--- a/npc/commands/welcome.txt
+++ b/npc/commands/welcome.txt
@@ -24,6 +24,7 @@ OnEffect:
// Not in Candor: Resave your @welcome reversion snippet
if (getmap() != "005-1") {
getmapxy(@welc_map$, @welc_x, @welc_y, 0);
+ @welc_loc$=LOCATION$;
} else {
// It's defined and you're in Candor, so: Warp back
if (@welc_x && @welc_y) {
@@ -32,6 +33,8 @@ OnEffect:
@welc_x=0;
@welc_y=0;
dispbottom l("%s: Thanks for helping.", "Nard");
+ if (@welc_loc$ != "")
+ LOCATION$=@welc_loc$;
end;
}
// There's no saved coordinates but you're in Candor.