Skip to content

Commit

Permalink
Give warning and exit game if first time run and Steam not running wh…
Browse files Browse the repository at this point in the history
…ile in Steam mode

 - Also update warning message
  • Loading branch information
drojf authored and TellowKrinkle committed Oct 13, 2021
1 parent 08623f7 commit cc7ab36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PonscripterLabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,8 @@ pstring Steam_GetSavePath(const pstring& local_savedir) {
}

if (savelocfile) {
PonscripterMessage(Error, "Steam Not Running", "Steam needs to be running to detect the appropriate save data location. Please relaunch the game with Steam. If this isn't actually a steam copy of the game, delete the file " + saveloc);
PonscripterMessage(Error, "Initial Save Location Setup - Steam Not Running", "Steam needs to be running to setup the save location.\n\nPlease relaunch the game with Steam running.\n\nIf this isn't actually a steam copy of the game, delete the file " + saveloc);
exit(-1);
}

fprintf(stderr, "Unable to get steam's save path; falling back to relative save path.\n");
Expand Down

0 comments on commit cc7ab36

Please sign in to comment.