looterz / atmos

garrysmod weather modification
GNU General Public License v3.0
5 stars 6 forks source link

Moon is stretched #2

Closed ghost closed 9 months ago

ghost commented 1 year ago

Relevant code here: https://github.com/looterz/atmos/blob/master/lua/atmos/shared/sh_sky.lua#L489

Can be seen in this screenshot: gmod 2023-04-09 22-32-48

Something to do with the positions/angles, difficult to debug because I don't know how to reinitialize the skyclass without restarting the entire server.

looterz commented 1 year ago

Destroying and re-creating atmos_sky and other relevant stuff we do during init when a reload is detected should do the trick i think