mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Fix #5171: Latest build doesn't allow server connection
Network park streams do not have checksums so do not try to validate.
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
void LoadFromStream(IStream * stream, bool isScenario) override
|
||||
{
|
||||
if (!gConfigGeneral.allow_loading_with_incorrect_checksum && !SawyerEncoding::ValidateChecksum(stream))
|
||||
if (isScenario && !gConfigGeneral.allow_loading_with_incorrect_checksum && !SawyerEncoding::ValidateChecksum(stream))
|
||||
{
|
||||
throw IOException("Invalid checksum.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user