mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix entities being incorrectly restored
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user