Skip to content

Commit

Permalink
Fix movespeed
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Slomka authored and Gabriel Slomka committed May 12, 2024
1 parent f7448df commit 74e5a48
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ private void OnHarvestResources(HarvestingUpdateEvent ev)
_client.Game.Log.Debug($"[Harvest Prediction] Client predicted depletion on {ev.Tile} - stopping party");
_client.Modules.Actions.StopParty(p);
p.Components.RemoveReference<HarvestingPredictionComponent>();

}
}

Expand Down
2 changes: 1 addition & 1 deletion LisergyClient/LisergyClient/Assets/Plugins/ClientSDK.dll
Git LFS file not shown
2 changes: 1 addition & 1 deletion LisergyClient/LisergyClient/Assets/Plugins/Game.dll
Git LFS file not shown
2 changes: 1 addition & 1 deletion LisergyServer/Game/Systems/Party/PartyEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public PartyEntity(IGame game, GameId owner) : base(game, owner)
Components.Add<CargoComponent>();
Components.Add<HarvesterComponent>();
Components.Get<CargoComponent>().MaxWeight = game.Specs.Harvesting.StartingPartyCargoWeight;
Components.Get<MovespeedComponent>().MoveDelay = TimeSpan.FromSeconds(0.3);
Components.Get<MovespeedComponent>().MoveDelay = TimeSpan.FromSeconds(1);
Components.AddReference(new MapReferenceComponent());
}

Expand Down

0 comments on commit 74e5a48

Please sign in to comment.