pixeltailgames / cinema

:movie_camera: Gamemode for Garry's Mod featuring multiplayer video streaming

Home Page:http://www.pixeltailgames.com/cinema/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Addon-breaking CleanUpMap

wyozi opened this issue · comments

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.