mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-22 08:31:07 +00:00
Fix wstring for windows and add crossplatform code for fs strings
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ void StartGame(std::string Dir) {
|
||||
}
|
||||
#endif
|
||||
|
||||
void InitGame(const std::wstring& Dir) {
|
||||
void InitGame(const beammp_fs_string& Dir) {
|
||||
if (!options.no_launch) {
|
||||
std::thread Game(StartGame, Dir);
|
||||
Game.detach();
|
||||
|
||||
Reference in New Issue
Block a user