ENSL / NS

Natural Selection mod for Half-life
http://www.unknownworlds.com/ns
GNU General Public License v3.0
42 stars 12 forks source link

Commander cannot drop structures #95

Open jirikivaari opened 3 years ago

jirikivaari commented 3 years ago

Sometimes as a commander you cannot structures. It has happened so many times but I don't have reliable reproduction steps.

RGreenlees commented 12 months ago

The process for validating placement on the client side (i.e. setting the build preview to green/red) operates slightly differently to that on the server (i.e. when you actually click the button). This is usually due to entities that exist on the server but not the client, or the fact that the build preview ignores func_nobuild.

Therefore, there could be any number of reasons for commander structures not being placed even when the preview says they can be. Some of the issues may be fixed already with this commit here:

https://github.com/Bacsu/NS/commit/28126ad818b52458bc7922878eef7572a5939c7e

However, what I will do for now is look into why func_nobuild does not affect the building preview, and only the placement itself.