summaryrefslogtreecommitdiff
path: root/scripts/player.gd
diff options
context:
space:
mode:
authorJ08nY2017-04-24 18:19:14 +0200
committerJ08nY2017-04-24 18:19:14 +0200
commit146b302545b8cda8df456d105ac30ee961365056 (patch)
tree00d809d197ffdb2732cefb6a9722fda2cec0054c /scripts/player.gd
parent8f1613ca0fab95fe837d9278e7829f70fb7bc934 (diff)
downloadld38-146b302545b8cda8df456d105ac30ee961365056.tar.gz
ld38-146b302545b8cda8df456d105ac30ee961365056.tar.zst
ld38-146b302545b8cda8df456d105ac30ee961365056.zip
Diffstat (limited to 'scripts/player.gd')
-rw-r--r--scripts/player.gd2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/player.gd b/scripts/player.gd
index 746d2d9..59ffb06 100644
--- a/scripts/player.gd
+++ b/scripts/player.gd
@@ -36,10 +36,8 @@ func get_item_count(id):
return storage[id]
func remove_item(id, amount):
- print("remove", id, amount)
if storage.has(id) and storage[id] >= amount:
storage[id] -= amount
- print("new amount", storage[id])
_update_storage(id, storage[id])
func _update_funds():