wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
547 stars 332 forks source link

Fix removing and readding items in EGP #3040

Closed Denneisk closed 3 months ago

Denneisk commented 3 months ago
  1. Makes it so at least one remove action on an EGP object will be kept in the queue before any objects are recreated to avoid errors with not removing objects when sent to client.
  2. Moves the EGP object removal from rendertable out of the network sending action and into the removal action itself. This is because objects would otherwise be erroneously removed from the EGP on the server.

I think I'm finally beginning to understand the current EGP Queue.

Fixes #3039, thought it would be more mysterious but I managed to bang my head against it enough times.