diff --git a/gameserver/src/manager/scene_mgr.zig b/gameserver/src/manager/scene_mgr.zig index af4c737..2db4f43 100644 --- a/gameserver/src/manager/scene_mgr.zig +++ b/gameserver/src/manager/scene_mgr.zig @@ -73,7 +73,7 @@ pub const SceneManager = struct { .entityCase_ = .{ .Prop = prop_info }, .GroupId = scene_group.group_id, .InstId = propConf.instId, - .EntityId = 0, + .EntityId = generator.nextId(), .Motion = .{ .pos = .{ .x = propConf.pos.x, .y = propConf.pos.y, .z = propConf.pos.z }, .rot = .{ .x = propConf.rot.x, .y = propConf.rot.y, .z = propConf.rot.z },