[BUG] Editor saving Lua

Please see my other posts for other bugs if anyone is actually seeing these.

Bug: open a map which is set to Lua as scripting language.
Then open another map in same session, which is set to JASS.
Close second map.
Try to save first map - error for syntax. Editor has not set itself back to Lua.

Fix - go into map properties. It will already say Lua. Don’t need to change anything. Just go into map properties and then leave it. Now you can save again.

Had the same problem without opening any JASS map - just opened a LUA map.