openlvc / disco

Java library for Distributed Interactive Simulation
11 stars 3 forks source link

Fixes EmitterBeams not being removed from EmitterSystems #50

Closed GrantJL closed 3 years ago

GrantJL commented 3 years ago

Emitter Beams were never removed from Emitter Systems.

The previous implementation would never remove EmitterBeams from a system, even if they were removed from the system. Now Beams are removed if they a no longer present in the EmitterSystem PDU.

This update will ensure that if a Emitter System no longer has Beams that this change is reflected in the Emitter System store in Disco.

michaelrfraser commented 3 years ago

Looks great, thanks Jayden