Addon-breaking CleanUpMap
wyozi opened this issue · comments
Joonas commented
This line of code seems to be causing quite a lot trouble in addons that have their InitPostEntity registered before Cinema's and spawn entities in it (which I believe is quite widely used hook for spawning entities).
I'd assume cleaning up the map is there for development, but if I understood the context correctly only the cinema entities should need removing. In any case I believe the cleanup should at least only happen if a development cvar is set.
Sam Maddock commented