diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-21 20:43:26 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-21 20:43:26 -0400 |
| commit | 522cdfc0e24b45cf02d8c22cef85fa32408f1376 (patch) | |
| tree | 463ce70002a98847bdd6f6d78f479276cf92c684 /gamemode/inventorysystem | |
| parent | 5e6e88f98300d4c3d41aad7cff5346539f4f9f66 (diff) | |
| download | artery-522cdfc0e24b45cf02d8c22cef85fa32408f1376.tar.gz artery-522cdfc0e24b45cf02d8c22cef85fa32408f1376.tar.bz2 artery-522cdfc0e24b45cf02d8c22cef85fa32408f1376.zip | |
Fixed a bug with server teleporters
Server teleports were not saveing to the database in the right format
Diffstat (limited to 'gamemode/inventorysystem')
| -rw-r--r-- | gamemode/inventorysystem/shapedinventory/sh_shaped.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua index 09668e2..7c171c3 100644 --- a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua +++ b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua @@ -126,7 +126,9 @@ function inv:DeSerialize(str) local name = k local pos = v[1] local data = v[2] - ret.tracker[pos] = itm.GetItemFromData(name,data) + local item = itm.GetItemFromData(name,data) + self:Put(pos,item) + --ret.tracker[pos] = itm.GetItemFromData(name,data) end return ret end |
