summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/main.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 3568f5f92..3ac90ac61 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -64,7 +64,7 @@ function script b {
}
function script col {
- .@color = getarg(1);
+ .@color = getarg(1,9);
if (.@color < 0) .@color = 0;
if (.@color > 9) .@color = 9;
return "##" + .@color + getarg(0) + "##0";