Skip to content

Commit 810c05b

Browse files
authored
Merge branch 'development' into vscode-debugging
2 parents 28c71ee + 38cf361 commit 810c05b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

System/DataModule.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,10 @@ namespace RTE {
494494
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
495495

496496
void DataModule::CheckSupportedGameVersion() const {
497+
if (*m_SupportedGameVersion == c_GameVersion) {
498+
return;
499+
}
500+
497501
static const std::string contactAuthor = "Please contact the mod author or ask for help in the CCCP discord server.";
498502

499503
RTEAssert(m_SupportedGameVersion, m_FileName + " does not specify a supported Cortex Command version, so it is not compatible with this version of Cortex Command (" + c_GameVersion.str() + ").\n\n" + contactAuthor);

0 commit comments

Comments
 (0)