From 8b92e6a8be243e08b3939bbbd97a828de9410a68 Mon Sep 17 00:00:00 2001 From: Ray Koopa Date: Mon, 29 Jun 2020 03:03:09 +0200 Subject: [PATCH] Fix detection of SchemeSaveFormat when calling Save for file names. --- src/library/Syroot.Worms.Armageddon/Scheme.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/Syroot.Worms.Armageddon/Scheme.cs b/src/library/Syroot.Worms.Armageddon/Scheme.cs index b521e48..cc9e82e 100644 --- a/src/library/Syroot.Worms.Armageddon/Scheme.cs +++ b/src/library/Syroot.Worms.Armageddon/Scheme.cs @@ -1103,7 +1103,7 @@ namespace Syroot.Worms.Armageddon /// Saves the data in the given file with a format appropriate for . /// /// The to save the data to. - public void Save(string fileName) => Save(fileName, (SchemeSaveFormat)((uint)Version >> 16)); + public void Save(string fileName) => Save(fileName, (SchemeSaveFormat)((uint)Version << 16)); /// /// Saves the data in the given file with the specified .