Update for Techblox

This commit is contained in:
Norbi Peti 2021-04-13 01:06:53 +02:00
parent 8ef3b0a8a6
commit a83eb1d405
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
2 changed files with 441 additions and 262 deletions

File diff suppressed because it is too large Load diff

View file

@ -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()