branch | NewGRF_ports |
changeset 6743 | cabfaa4a0295 |
parent 6720 | 35756db7e577 |
child 6871 | 5a9dc001e1ad |
6742:1337d6c9b97b | 6743:cabfaa4a0295 |
---|---|
1076 { |
1076 { |
1077 if (argc == 0) { |
1077 if (argc == 0) { |
1078 IConsoleHelp("Exit the game. Usage: 'exit'"); |
1078 IConsoleHelp("Exit the game. Usage: 'exit'"); |
1079 return true; |
1079 return true; |
1080 } |
1080 } |
1081 |
|
1082 if (_game_mode == GM_NORMAL && _patches.autosave_on_exit) DoExitSave(); |
|
1081 |
1083 |
1082 _exit_game = true; |
1084 _exit_game = true; |
1083 return true; |
1085 return true; |
1084 } |
1086 } |
1085 |
1087 |