Skip to content

Fixing FileUtil exists check for windows. updating directoryExists ca…#590

Merged
luciusDXL merged 2 commits intoluciusDXL:masterfrom
ifeldshteyn:fileutil_fix
Feb 10, 2026
Merged

Fixing FileUtil exists check for windows. updating directoryExists ca…#590
luciusDXL merged 2 commits intoluciusDXL:masterfrom
ifeldshteyn:fileutil_fix

Conversation

@ifeldshteyn
Copy link
Contributor

Also updating directoryExists calls. Tested functionality, game works, saves load, mods load, replays work.

const char* docsDir = TFE_Paths::getPath(PATH_USER_DOCUMENTS);
sprintf(docsFontsDir, "%sFonts/", docsDir);
if (!FileUtil::directoryExits(docsFontsDir))
if (!FileUtil::directoryExists(docsFontsDir))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks. :)

@luciusDXL luciusDXL merged commit b557d7c into luciusDXL:master Feb 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants