diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index b6b2def84..98ad334b7 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -324,19 +324,9 @@ function script HUB_Logout { CHAREG_CLEANUP=gettimetick(2); // Send updates to Vault API if (getvaultid()) { - .@api$=json_encode("UID", ##VAULT, - "GID", getcharid(3), - "VAR1N", "MLQUEST", - "VAR1V", ##02_MLQUEST, - "VAR2N", "MLWORLD", - "VAR2V", ##02_MLWORLD, - "VEXP", ##VAULT_EXP, - "GOTO", ##VAULT_GOTO, - "MLTO", ##VAULT_MLTO); - ##VAULT_EXP=0; + export_vault(); ##VAULT_GOTO=0; ##VAULT_MLTO=0; - api_send(API_FLUSHVAULT, .@api$); // Destroy temporary characters if (countitem(MirrorLakeArmor)) { delitem MirrorLakeArmor, countitem(MirrorLakeArmor); |