summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-08-05 16:41:17 -0300
committerJesusaves <cpntb1@ymail.com>2024-08-05 16:41:17 -0300
commit9bccea0bc3abe514b20421c193200ab969e4404f (patch)
tree23f41b9bed8fffd67ab748463473e29087df2e8e
parent8c69d9425c478d3b511c18e9feb24e70e247269b (diff)
downloadserverdata-9bccea0bc3abe514b20421c193200ab969e4404f.tar.gz
serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.tar.bz2
serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.tar.xz
serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.zip
Fix excessive debugging
-rw-r--r--npc/031-4/gambler.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/031-4/gambler.txt b/npc/031-4/gambler.txt
index 7e1b47766..119a2a1b1 100644
--- a/npc/031-4/gambler.txt
+++ b/npc/031-4/gambler.txt
@@ -200,11 +200,13 @@ function deal {
// Display the cards? Do it now, before we modify the data
if (getarg(0, true)) {
- debugmes sprintf("cards/card%s%d", suitname(.@r[0]), .@n[0]);
- debugmes sprintf("cards/card%s%d", suitname(.@r[1]), .@n[1]);
- debugmes sprintf("cards/card%s%d", suitname(.@r[2]), .@n[2]);
- debugmes sprintf("cards/card%s%d", suitname(.@r[3]), .@n[3]);
- debugmes sprintf("cards/card%s%d", suitname(.@r[4]), .@n[4]);
+ if ($@GM_OVERRIDE) {
+ debugmes sprintf("cards/card%s%d", suitname(.@r[0]), .@n[0]);
+ debugmes sprintf("cards/card%s%d", suitname(.@r[1]), .@n[1]);
+ debugmes sprintf("cards/card%s%d", suitname(.@r[2]), .@n[2]);
+ debugmes sprintf("cards/card%s%d", suitname(.@r[3]), .@n[3]);
+ debugmes sprintf("cards/card%s%d", suitname(.@r[4]), .@n[4]);
+ }
img(sprintf("cards/card%s%d", suitname(.@r[0]), .@n[0]));
img(sprintf("cards/card%s%d", suitname(.@r[1]), .@n[1]));
img(sprintf("cards/card%s%d", suitname(.@r[2]), .@n[2]));