forked from mirrors/0ad
5308b95aa8
Disable the controls for observers (unless the developer-option is enabled). Don't check for g_IsObserver, since observers should be able to use the developer overlay as well. Update all GUI elements when changing the perspective using onSimulationUpdate(). Enable observermode for defeated players. This was SVN commit r17675.