From c8f2dea0bd0068aac6f59a5053d4f0576f21bb23 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 16 Sep 2013 11:04:07 -0700 Subject: Refactor all broken returns into goto L_Return --- world/map/npc/027-1/graves.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'world/map/npc/027-1/graves.txt') diff --git a/world/map/npc/027-1/graves.txt b/world/map/npc/027-1/graves.txt index b4d9e273..5f522e15 100644 --- a/world/map/npc/027-1/graves.txt +++ b/world/map/npc/027-1/graves.txt @@ -3,9 +3,12 @@ function|script|GraveTooFar|, { if (isin("027-1.gat",89,54,122,76)) - return; + goto L_Return; mes "You are too far away to read the grave."; close; + +L_Return: + return; } 027-1.gat,89,62,0|script|Grave#1|400, -- cgit v1.2.3-60-g2f50