Skip to content

Commit 84ed462

Browse files
committed
Make installation validator check just the rainbomizer directory
1 parent cc0bb96 commit 84ed462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/common.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ Common::GetRainbomizerFileName (const std::string &name,
9898
std::string baseDir
9999
= GetGameDirRelativePathA (("rainbomizer/" + subdirs).c_str ());
100100

101-
if (!std::filesystem::exists (baseDir))
101+
if (!std::filesystem::exists (GetGameDirRelativePathA ("rainbomizer/")))
102102
{
103103
MessageBox (NULL,
104104
"Failed to locate Rainbomizer Data "
105105
"Directory.\n\nPlease reinstall the mod following "
106106
"the instructions in the README.",
107-
"You fool!", MB_ICONHAND);
107+
"Installation Validation Error", MB_ICONHAND);
108108
abort ();
109109
}
110110

0 commit comments

Comments
 (0)