mirror of
https://gitlab.com/Syroot/Worms.git
synced 2025-01-13 07:18:00 +03:00
Fix detection of SchemeSaveFormat when calling Save for file names.
This commit is contained in:
parent
861d5ea585
commit
8b92e6a8be
@ -1103,7 +1103,7 @@ namespace Syroot.Worms.Armageddon
|
||||
/// Saves the data in the given file with a format appropriate for <see cref="Version"/>.
|
||||
/// </summary>
|
||||
/// <param name="stream">The <see cref="Stream"/> to save the data to.</param>
|
||||
public void Save(string fileName) => Save(fileName, (SchemeSaveFormat)((uint)Version >> 16));
|
||||
public void Save(string fileName) => Save(fileName, (SchemeSaveFormat)((uint)Version << 16));
|
||||
|
||||
/// <summary>
|
||||
/// Saves the data in the given file with the specified <paramref name="format"/>.
|
||||
|
Loading…
x
Reference in New Issue
Block a user