mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-06 09:34:05 +00:00
Fix entities being incorrectly restored
This commit is contained in:
parent
20718ca05c
commit
5708ef385c
@ -58,6 +58,8 @@ export class SerializerInternal {
|
||||
variant: data.variant,
|
||||
});
|
||||
|
||||
entity.uid = payload.uid;
|
||||
|
||||
this.deserializeComponents(entity, payload.components);
|
||||
|
||||
root.entityMgr.registerEntity(entity, payload.uid);
|
||||
|
Loading…
Reference in New Issue
Block a user