Raise SolutionChangedEvent and SolutionContainerChangedEvent when handling SolutionComponent states (#42814)

raise event on client + comp access
This commit is contained in:
slarticodefast
2026-06-29 12:43:57 +02:00
committed by Coryler
parent a885d981b4
commit 38ae6416cd
13 changed files with 105 additions and 22 deletions
@@ -114,6 +114,10 @@ public abstract partial class SharedPuddleSystem : EntitySystem
private void OnSolutionUpdate(Entity<PuddleComponent> entity, ref SolutionContainerChangedEvent args)
{
// The changes are already networked as part of the same game state.
if (_timing.ApplyingState)
return;
if (args.SolutionId != entity.Comp.SolutionName)
return;