Skip to content

Commit f569406

Browse files
committed
up
1 parent f4f8578 commit f569406

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

KBEngine.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,15 +1355,16 @@ public void Client_onReLoginGatewaySuccessfully(MemoryStream stream)
13551355
public void Client_onCreatedProxies(UInt64 rndUUID, Int32 eid, string entityType)
13561356
{
13571357
Dbg.DEBUG_MSG("KBEngine::Client_onCreatedProxies: eid(" + eid + "), entityType(" + entityType + ")!");
1358-
entity_uuid = rndUUID;
1359-
entity_id = eid;
1360-
entity_type = entityType;
13611358

13621359
if(this.entities.ContainsKey(eid))
13631360
{
13641361
// Dbg.WARNING_MSG("KBEngine::Client_onCreatedProxies: eid(" + eid + ") has exist!");
13651362
Client_onEntityDestroyed(eid);
13661363
}
1364+
1365+
entity_uuid = rndUUID;
1366+
entity_id = eid;
1367+
entity_type = entityType;
13671368

13681369
ScriptModule module = null;
13691370
if(!EntityDef.moduledefs.TryGetValue(entityType, out module))

0 commit comments

Comments
 (0)