StrangeLoopGames / EcoModKit

Eco Modkit
https://docs.play.eco
69 stars 25 forks source link

Hide WorldLayer in browser #62

Open AlexDocking opened 1 year ago

AlexDocking commented 1 year ago

WorldLayer.Settings.Visible now works to hide layers in the game in 9.6 which I'm pleased about. Is there a way to synchronise that with the web browser or is it not implemented yet? Hiding a layer in game isn't very useful yet when it's still visible in the browser

MonzUn commented 1 year ago

@JulianMa fixed it for us locally. Could you PR it?

JulianMa commented 1 year ago

I have a fix for it, but i consider it a hack, since it only filters the layer out of the REST response. It's still possible to fetch it from the Server itself, because the .gif files are generated into the WebRoot of the webserver. But yes, visually its hidden then.