|
|
@@ -7,7 +7,6 @@ using GamecraftModdingAPI.Players; |
|
|
|
using GamecraftModdingAPI.Utility; |
|
|
|
using HarmonyLib; |
|
|
|
using RobocraftX.Character; |
|
|
|
using RobocraftX.Character.Camera; |
|
|
|
using RobocraftX.Character.Factories; |
|
|
|
using RobocraftX.Character.Movement; |
|
|
|
using RobocraftX.Common; |
|
|
@@ -100,9 +99,9 @@ namespace BuildingTools |
|
|
|
|
|
|
|
private void EnsureFlying() |
|
|
|
{ |
|
|
|
foreach (var ((coll, count), _) in entitiesDB.QueryEntities<CharacterMovementEntityStruct>(CharacterExclusiveGroups.AllCharacters)) |
|
|
|
/*foreach (var ((coll, count), _) in entitiesDB.QueryEntities<CharacterMovementEntityStruct>(CharacterExclusiveGroups.AllCharacters)) |
|
|
|
for (int i = 0; i < count; i++) |
|
|
|
coll[i].moveState = MovementState.Flying; |
|
|
|
coll[i].moveState = MovementState.Flying;*/ |
|
|
|
} |
|
|
|
|
|
|
|
public void Ready() |
|
|
|