forked from mirrors/0ad
a7b4d42032
Gamesetup fails to handle cases with fixed ai 5ca68a38ef.
Removing wrong 'this' and checking for 'undefined' to fix additional
warnings when switching maps.
Differential Revision: D3038
Fixes: #5844
This was SVN commit r24109.