diff options
author | piernov <piernov@piernov.org> | 2016-05-08 13:41:42 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-08 13:41:42 +0200 |
commit | 02c2b49b4a85704d7c16a91e55d24d5af64808ee (patch) | |
tree | e62455ef9a3b2b9ae10f4c12d51a69a728feea19 /inc/Inventory.inc | |
parent | f5f13ebb900746c942d339149a838b6c8ef0586d (diff) | |
download | candybox-02c2b49b4a85704d7c16a91e55d24d5af64808ee.tar.gz candybox-02c2b49b4a85704d7c16a91e55d24d5af64808ee.tar.bz2 candybox-02c2b49b4a85704d7c16a91e55d24d5af64808ee.tar.xz candybox-02c2b49b4a85704d7c16a91e55d24d5af64808ee.zip |
Add multiple item support to savegame + fix missing includes
Diffstat (limited to 'inc/Inventory.inc')
-rw-r--r-- | inc/Inventory.inc | 2 |
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]); } } |