FreeCol / freecol

FreeCol: FreeCol is a turn-based strategy game based on the old game Colonization, and similar to Civilization. The objective of the game is to create an independent nation.
GNU General Public License v2.0
585 stars 170 forks source link

Saves map in map editor using FSM extension #57

Closed rafbel closed 4 years ago

rafbel commented 4 years ago

This code submission changes the default extension for maps created in the map editor to FSM instead of FSG. This allows them to be open in the map editor since it is expecting FSM files and not FSG. This issue is better described in Sourceforge https://sourceforge.net/p/freecol/improvement-requests/233/.

I also made a change that whenever a file is saved, it has to have either the file extension, so the file can be properly opened (since it won't show up because of the extension filter in the dialog).

mpope042 commented 4 years ago

Edited version applied in git.47316de (SF master repo).