Merge branch 'safe-file-writes' into localisable-filter-items

This commit is contained in:
Dean Herbert
2022-05-20 23:51:24 +09:00
15 changed files with 33 additions and 13 deletions

View File

@ -118,7 +118,7 @@ namespace osu.Game.Graphics
if (filename == null) return;
using (var stream = storage.GetStream(filename, FileAccess.Write))
using (var stream = storage.CreateFileSafely(filename))
{
switch (screenshotFormat.Value)
{