Fix configuration file behaviour
authorPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 22:53:39 +0000 (00:53 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 22:54:51 +0000 (00:54 +0200)
commitb485fac33ef961fb5725f3ae34520ee3b2f0339b
tree0acb22e66ae9c8a5ff89e1ab29c90ef86e43fc57
parent98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4
Fix configuration file behaviour

- Do not rewrite if nothing needs to be changed
- Update at program exit, in addition to updating when continuing from main menu to game
src/main.cpp
src/settings.h