mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Raise SolutionChangedEvent and SolutionContainerChangedEvent when handling SolutionComponent states (#42814)
raise event on client + comp access
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user