mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-04 21:33:56 -04:00
Fixed bug with serialization/deserialization
This commit is contained in:
parent
5229358eb6
commit
345b8cafe0
2 changed files with 5 additions and 4 deletions
|
@ -398,7 +398,8 @@ function World:deserialize(data, startClean, ignoreGenerator)
|
|||
|
||||
if data[i].key then
|
||||
local component = Components.key:__new(entity)
|
||||
entity.key = component:deserialize(data[i].key)
|
||||
component:deserialize(data[i].key)
|
||||
entity.key = component
|
||||
|
||||
entity:__dirty()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue