mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-19 15:51:42 +00:00
Clean up stuff for old versions
This commit is contained in:
1 parent
5c31df8c05
commit
fd2d457e6b
1 file changed
+6
-13
@@ -159,21 +159,14 @@ internal class CompatibilityManager : ICompatibilityManager
|
||||
|
||||
_supportMap.Add(gameVersion, compatibilityGroup);
|
||||
|
||||
// We special case the host-only 2023.7.11 here
|
||||
// Ideally it should never have existed so remove once 2023.7.11 is unsupported TODO
|
||||
var includeInSupportRange = gameVersion != new GameVersion(2222, 0, 0);
|
||||
|
||||
if (includeInSupportRange)
|
||||
if (gameVersion < _lowestVersionSupported)
|
||||
{
|
||||
if (gameVersion < _lowestVersionSupported)
|
||||
{
|
||||
_lowestVersionSupported = gameVersion;
|
||||
}
|
||||
_lowestVersionSupported = gameVersion;
|
||||
}
|
||||
|
||||
if (gameVersion > _highestVersionSupported)
|
||||
{
|
||||
_highestVersionSupported = gameVersion;
|
||||
}
|
||||
if (gameVersion > _highestVersionSupported)
|
||||
{
|
||||
_highestVersionSupported = gameVersion;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user