diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-06-05 23:53:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-06-05 23:53:31 -0300 |
commit | df6bcf475ae1b6abd1d15469176c3d1d918a48fb (patch) | |
tree | f5a6343c5f53cd0813521fa150ff10194122520a /npc/functions | |
parent | b40a03c376451ac9e5aaec884067e4bfc13fe80f (diff) | |
download | serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.gz serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.bz2 serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.xz serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.zip |
Maybe this fix the bug
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/util.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index bc76b5361..ac864a125 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -71,9 +71,9 @@ function script DelChrRegFromEveryPlayer { .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC); for (.@i = 0; .@i < .@c; .@i++) { if (compare(getarg(0), "$")) - setd(getarg(0), ""); + setd(str(getarg(0)), ""); else - setd(getarg(0), 0); + setd(str(getarg(0)), 0); } return; } |