summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-11 17:34:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-11 17:34:26 -0300
commitb0d9812760e8c41a9a058435621a076edc85d825 (patch)
tree76fb1c579eaf5a5c9bfc7775701e2b086bbda933 /npc
parent1bc491509e9eab08b45738d3b799150fb658ba24 (diff)
downloadserverdata-b0d9812760e8c41a9a058435621a076edc85d825.tar.gz
serverdata-b0d9812760e8c41a9a058435621a076edc85d825.tar.bz2
serverdata-b0d9812760e8c41a9a058435621a076edc85d825.tar.xz
serverdata-b0d9812760e8c41a9a058435621a076edc85d825.zip
Do not report hidden GM Game Settings on @ucp
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/ucp.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 87e5bfc64..99257da16 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -143,12 +143,14 @@ function script UserCtrlPanel {
mes l("Display daily reward screen: ") + col(l("Enabled"), 2);
- // GSET_AUTORECEIVE_COINS
- // Enables/Disable autoreceive strange coins
- if (!GSET_AUTORECEIVE_COINS)
- mes l("Autoreceive Strange Coins: ") + col(l("Disabled"), 1);
- else
- mes l("Autoreceive Strange Coins: ") + col(l("Enabled"), 2);
+ if (strcharinfo(2) == "Monster King") {
+ // GSET_AUTORECEIVE_COINS
+ // Enables/Disable autoreceive strange coins
+ if (!GSET_AUTORECEIVE_COINS)
+ mes l("Autoreceive Strange Coins: ") + col(l("Disabled"), 1);
+ else
+ mes l("Autoreceive Strange Coins: ") + col(l("Enabled"), 2);
+ }
if (@unsaved) {
mes "";