aboutsummaryrefslogtreecommitdiffstats
path: root/src/brice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/brice.cpp')
-rw-r--r--src/brice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/brice.cpp b/src/brice.cpp
index 638c02f..8cbd9bb 100644
--- a/src/brice.cpp
+++ b/src/brice.cpp
@@ -61,6 +61,8 @@ namespace game {
}
void briceLoad(void) {
+ if (!fileExists("brice.dat"))
+ briceClear();
auto data = readFile("brice.dat");
if (data.empty()) {