aboutsummaryrefslogtreecommitdiffstats
path: root/inc/shop.inc
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-04-25 12:31:00 +0200
committerpiernov <piernov@piernov.org>2016-04-25 12:31:00 +0200
commit1c8629abd2bd8fdcc29fe50d358c176bbfb2e3a3 (patch)
treea1f5de2ef8337d2be5962bb55bfe11084cd8476c /inc/shop.inc
parent8cb6c33190dc4133771705fefacb2cea14568c4d (diff)
downloadcandybox-1c8629abd2bd8fdcc29fe50d358c176bbfb2e3a3.tar.gz
candybox-1c8629abd2bd8fdcc29fe50d358c176bbfb2e3a3.tar.bz2
candybox-1c8629abd2bd8fdcc29fe50d358c176bbfb2e3a3.tar.xz
candybox-1c8629abd2bd8fdcc29fe50d358c176bbfb2e3a3.zip
Account already debitedfeat/shop
Diffstat (limited to 'inc/shop.inc')
-rw-r--r--inc/shop.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/inc/shop.inc b/inc/shop.inc
index 11cf97b..a0f9a8a 100644
--- a/inc/shop.inc
+++ b/inc/shop.inc
@@ -42,7 +42,6 @@ function buildShop() {
}
elseif(debitAccount($shop["cost"])) {
initShop();
- $_SESSION["mine"]["gold"] -= $shop["cost"];
echo json_encode(sendShop());
}
}