summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/warp.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/npc/commands/warp.txt b/npc/commands/warp.txt
index 0c6122eb..8d14a628 100644
--- a/npc/commands/warp.txt
+++ b/npc/commands/warp.txt
@@ -26,10 +26,7 @@ OnCall:
{
if (.@request$ ~= .aliases$[.@i])
{
- explode .@coords$, .aliases$[.@i + 1], " ";
- .@map$ = .@coords$[0];
- .@x = atoi(.@coords$[1]);
- .@y = atoi(.@coords$[2]);
+ sscanf .aliases$[.@i + 1], "%s %d %d", .@map$, .@x, .@y;
break;
}
}