From eb8ea91f5b62181b2108d7727ce2635dc19208ef Mon Sep 17 00:00:00 2001 From: Jittapan Pluemsumran Date: Mon, 22 Aug 2016 22:44:13 +0700 Subject: [PATCH] Follow up to 472b885ca83627922d2c2208b46ff6d9b8308a7d * Added brackets after if --- npc/other/CashShop_Functions.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 2ede408917..c8ce283ae1 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -319,11 +319,12 @@ function script F_CashReduceStat { if((readparam(.@type) + .@amount) < 1) return; - if(.@itemid) + if(.@itemid) { if(countitem(.@itemid)) delitem .@itemid,1; else return; + } StatusPoint += needed_status_point(.@type, .@amount); statusup2 .@type,.@amount; return;