summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-24 23:10:07 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-24 23:10:07 -0300
commitbabbb00266f644ba49dc09c4d3b8a122eb6003e3 (patch)
tree3ba35c34ffa45738089266798fbaf50a5bf3c571
parent23c938eb4b7f387625553d6d67954c955861ce40 (diff)
downloadserverdata-babbb00266f644ba49dc09c4d3b8a122eb6003e3.tar.gz
serverdata-babbb00266f644ba49dc09c4d3b8a122eb6003e3.tar.bz2
serverdata-babbb00266f644ba49dc09c4d3b8a122eb6003e3.tar.xz
serverdata-babbb00266f644ba49dc09c4d3b8a122eb6003e3.zip
Ensure it does not work on a weird inexisting test server
-rw-r--r--npc/functions/vault.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/vault.txt b/npc/functions/vault.txt
index ec69c435f..dfa0093d0 100644
--- a/npc/functions/vault.txt
+++ b/npc/functions/vault.txt
@@ -5,7 +5,8 @@
// Vault Utilities
function script getvaultid {
- if ($BETASERVER)
+ // FIXME: Make this False
+ if ($BETASERVER && !debug)
return ##VAULT;
else
return 0;