Skip to content

Commit

Permalink
Update JSON config version to 3
Browse files Browse the repository at this point in the history
Increased due to added QuickPlay section and slightly changed
loading code. Previous versions assumed certain JSON nodes were
present; now node existence is checked to prevent crashes.
  • Loading branch information
cxong committed Aug 28, 2013
1 parent fabab8a commit 904932c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdogs/config_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include "json_utils.h"
#include "keyboard.h"

#define VERSION "2"
#define VERSION "3"


static void LoadGameConfigNode(GameConfig *config, json_t *node)
Expand Down

0 comments on commit 904932c

Please sign in to comment.