Skip to content

Commit fcd308b

Browse files
committed
fix in last
1 parent e34717c commit fcd308b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

quant.ew/files/system/notplayer_ai/notplayer_ai.lua

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,10 @@ local function teleport_to_area(area)
904904
elseif area == 4 then
905905
x, y = 191, 10722
906906
elseif area == 5 then
907-
x, y = 3244, 13084
907+
if no_tp == nil then
908+
no_tp = true
909+
x, y = 3244, 13084
910+
end
908911
elseif area == 6 then
909912
if no_tp == nil then
910913
no_tp = true
@@ -923,7 +926,10 @@ local function teleport_to_area(area)
923926
elseif area == 4 then
924927
x, y = 191, 10722
925928
elseif area == 5 then
926-
x, y = 3244, 13084
929+
if no_tp == nil then
930+
no_tp = true
931+
x, y = 3244, 13084
932+
end
927933
elseif area == 6 then
928934
if no_tp == nil then
929935
no_tp = true
@@ -946,7 +952,10 @@ local function teleport_to_area(area)
946952
elseif area == 6 then
947953
x, y = 191, 10730
948954
elseif area == 7 then
949-
x, y = 3244, 13084
955+
if no_tp == nil then
956+
no_tp = true
957+
x, y = 3244, 13084
958+
end
950959
elseif area == 8 then
951960
if no_tp == nil then
952961
no_tp = true

0 commit comments

Comments
 (0)