summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]));