aboutsummaryrefslogtreecommitdiff
path: root/src/GameLoop.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-07-26 15:27:30 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-07-26 15:27:30 +0700
commit180d58634bd0fd742b60fb2dc907fa836bcc4894 (patch)
treec0b74fafc03ff5ef10781438d8a1aa61f41baf5c /src/GameLoop.cpp
parent02cacabff7c8301412faaaeccdbf67cd2bbc38c0 (diff)
downloadblackshades-180d58634bd0fd742b60fb2dc907fa836bcc4894.tar.gz
Move Highscore out
Diffstat (limited to 'src/GameLoop.cpp')
-rw-r--r--src/GameLoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GameLoop.cpp b/src/GameLoop.cpp
index ab8d545..2fa7fc1 100644
--- a/src/GameLoop.cpp
+++ b/src/GameLoop.cpp
@@ -309,7 +309,7 @@ void Game::EventLoop()
if (score > highscore) {
highscore=score;
/* TODO */
- ofstream opstream("Data/Highscore");
+ ofstream opstream("highscore.txt");
opstream << highscore;
opstream << "\n";
opstream << beatgame;