summaryrefslogtreecommitdiff
path: root/npc/commands/grantpower.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-22 17:56:50 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-22 17:56:50 -0300
commit40f3b9b2ec96e29f433003995aa6f97e7725cb05 (patch)
tree316d31e1a0e343c99d54b7aff1574aff6f081801 /npc/commands/grantpower.txt
parent16391e7db6651ed931f86030980f2ed1bfb601a7 (diff)
downloadserverdata-40f3b9b2ec96e29f433003995aa6f97e7725cb05.tar.gz
serverdata-40f3b9b2ec96e29f433003995aa6f97e7725cb05.tar.bz2
serverdata-40f3b9b2ec96e29f433003995aa6f97e7725cb05.tar.xz
serverdata-40f3b9b2ec96e29f433003995aa6f97e7725cb05.zip
We need account ID, not char id on @grantpower
Diffstat (limited to 'npc/commands/grantpower.txt')
-rw-r--r--npc/commands/grantpower.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/commands/grantpower.txt b/npc/commands/grantpower.txt
index ac48c10b7..07dc6b71e 100644
--- a/npc/commands/grantpower.txt
+++ b/npc/commands/grantpower.txt
@@ -22,7 +22,7 @@ OnCall:
}
// Player is not attached
- .@id = getcharid(0, .@request$);
+ .@id = getcharid(3, .@request$);
if (!.@id) {
Exception("Player not found.", RB_ISFATAL|RB_DISPBOTTOM);
}