From 180d58634bd0fd742b60fb2dc907fa836bcc4894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 26 Jul 2021 15:27:30 +0700 Subject: Move Highscore out --- src/GameLoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GameLoop.cpp') 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; -- cgit v1.2.3