summaryrefslogtreecommitdiff
path: root/npc/002-1/peter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-1/peter.txt')
-rw-r--r--npc/002-1/peter.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt
index 1bdcff698..c8911e9fe 100644
--- a/npc/002-1/peter.txt
+++ b/npc/002-1/peter.txt
@@ -225,20 +225,21 @@ OnStartOutside:
OnTimeout:
if (!(getmap() ~= "002-2") && !(getmap() ~= "nard"))
end;
+ warp "002-1@"+LOCATION$, 35, 26;
.@q3 = getq3(ShipQuests_Peter);
instance_destroy(.@q3);
setq2 ShipQuests_Peter, 0;
setq3 ShipQuests_Peter, -1;
mesn;
mesq l("Hey! Be careful. You can't stay in this basement for so long, you're going to get sick. Come outside and take a break, maybe you can try again later.");
- warp "002-1@"+LOCATION$, 35, 26;
close;
OnDone:
+ .@q3 = getq(ShipQuests_Peter);
+ instance_destroy(.@q3);
if (@peter)
setq ShipQuests_Peter, getq(ShipQuests_Peter)|@peter, 0, -1;
- warp "002-1@"+LOCATION$, 35, 26;
.@q = getq(ShipQuests_Peter);
mesn;
mesq l("Good job!") + " " + l("Here's your reward!");