From 9bccea0bc3abe514b20421c193200ab969e4404f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 5 Aug 2024 16:41:17 -0300 Subject: Fix excessive debugging --- npc/031-4/gambler.txt | 12 +++++++----- 1 file 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])); -- cgit v1.2.3-70-g09d2