Skip to content

Commit a8b4741

Browse files
committed
improve xcom2 detection
1 parent 55e4aaa commit a8b4741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Engine/Options.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ static bool _tftdIsInstalled()
294294
{
295295
// ensure both the resource data and the mod data is in place
296296
return CrossPlatform::fileExists(CrossPlatform::searchDataFile("TFTD/TERRAIN/SEA.PCK"))
297-
&& CrossPlatform::fileExists(CrossPlatform::searchDataFile("standard/xcom2/Language/en-US.yml"));
297+
&& CrossPlatform::fileExists(CrossPlatform::searchDataFile("standard/xcom2/Xcom2Ruleset.rul"));
298298
}
299299

300300
static void _setDefaultMods()

0 commit comments

Comments
 (0)