diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-08-05 16:41:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-08-05 16:41:17 -0300 |
commit | 9bccea0bc3abe514b20421c193200ab969e4404f (patch) | |
tree | 23f41b9bed8fffd67ab748463473e29087df2e8e | |
parent | 8c69d9425c478d3b511c18e9feb24e70e247269b (diff) | |
download | serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.tar.gz serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.tar.bz2 serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.tar.xz serverdata-9bccea0bc3abe514b20421c193200ab969e4404f.zip |
Fix excessive debugging
-rw-r--r-- | npc/031-4/gambler.txt | 12 |
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])); |