Rename Stream.Write(byte[]) extension method to fix compatibility with newer mono.

This commit is contained in:
Paul Chote
2018-03-01 19:49:55 +00:00
committed by Matthias Mailänder
parent 9ce0bcb0b7
commit 42f1db0d4b
4 changed files with 18 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Network
catch (IOException) { }
}
file.Write(initialContent);
file.WriteArray(initialContent);
writer = new BinaryWriter(file);
}