mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 07:47:57 +03:00
Always warn about different game version
This commit is contained in:
parent
c608e6dec5
commit
8c26702678
1 changed files with 1 additions and 1 deletions
|
@ -1317,7 +1317,7 @@ bool LoadLevel(const std::string& path, bool partial)
|
|||
auto assemblyVersion = TEN::Utils::GetProductOrFileVersion(true);
|
||||
for (int i = 0; i < assemblyVersion.size(); i++)
|
||||
{
|
||||
if (assemblyVersion[i] < version[i])
|
||||
if (assemblyVersion[i] != version[i])
|
||||
{
|
||||
TENLog("Level version is different from TEN version.", LogLevel::Warning);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue