aboutsummaryrefslogtreecommitdiffstats
path: root/inc/Inventory.inc
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-05-08 13:44:08 +0200
committerpiernov <piernov@piernov.org>2016-05-08 13:44:08 +0200
commit2de30b863b6f78c10a1fed54d229dabea7383b97 (patch)
treedcf6cf9077234d5130d5339663594442602a8dea /inc/Inventory.inc
parentf52c46918efa0725affc490fd325977516be1870 (diff)
parent14ee8b1962fe3ce332e0de5fb96ae3f342187f94 (diff)
downloadcandybox-2de30b863b6f78c10a1fed54d229dabea7383b97.tar.gz
candybox-2de30b863b6f78c10a1fed54d229dabea7383b97.tar.bz2
candybox-2de30b863b6f78c10a1fed54d229dabea7383b97.tar.xz
candybox-2de30b863b6f78c10a1fed54d229dabea7383b97.zip
Merge branch 'feat/savegame' into piernov
Diffstat (limited to 'inc/Inventory.inc')
-rw-r--r--inc/Inventory.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Inventory.inc b/inc/Inventory.inc
index 747c4db..751f728 100644
--- a/inc/Inventory.inc
+++ b/inc/Inventory.inc
@@ -65,7 +65,7 @@ class Inventory {
public function addToXML($root) {
foreach($this->items as $item)
- $item->addToXML($root);
+ $item[0]->addToXML($root, $item[1]);
}
}