lt před 2 měsíci
rodič
revize
447847aeb7

+ 1 - 3
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role_state.go

@@ -259,9 +259,7 @@ func (this *Role) reportCreateRoleToXiaoQi(accRole *serverproto.AccountRole) {
 
 	cfg := service.GetServiceConfig()
 	zoneID := 0
-	if cfg != nil {
-		zoneID = cfg.Node.Zone
-	}
+	zoneID = cfg.Node.Zone
 	if this.GetSelectZone() > 0 {
 		zoneID = int(this.GetSelectZone())
 	}