Browse Source

fix游戏服AddUnits接口参数错误,不能指定单位的force

大爷 1 năm trước cách đây
mục cha
commit
efcd38a6af

+ 1 - 1
DotNet/Hotfix/Scenes/Game/Handler/C2G_AddUnitsToMapHandler.cs

@@ -39,7 +39,7 @@ namespace ET.Server
 
             Struct.MonsterUnit unit = new Struct.MonsterUnit();
             unit.id = request.UnitId;
-            unit.force = 1;
+            unit.force = request.Force;
             if (!string.IsNullOrEmpty(request.Flag))
             {
                 unit.flag = request.Flag;