From cc7ab36eda35e6369a503b9f36007ec32422ee53 Mon Sep 17 00:00:00 2001 From: Daniel Wong Date: Thu, 22 Jul 2021 11:04:10 +1000 Subject: [PATCH] Give warning and exit game if first time run and Steam not running while in Steam mode - Also update warning message --- src/PonscripterLabel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PonscripterLabel.cpp b/src/PonscripterLabel.cpp index 51689372..6afcbfa0 100644 --- a/src/PonscripterLabel.cpp +++ b/src/PonscripterLabel.cpp @@ -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");