mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Merge branch 'master' into remove-debug-utils
This commit is contained in:
commit
4d02e17539
@ -363,7 +363,7 @@ namespace osu.Game.Beatmaps
|
|||||||
foreach (var name in reader.Filenames.Where(f => f.EndsWith(".osu")))
|
foreach (var name in reader.Filenames.Where(f => f.EndsWith(".osu")))
|
||||||
{
|
{
|
||||||
using (var raw = reader.GetStream(name))
|
using (var raw = reader.GetStream(name))
|
||||||
using (var ms = new MemoryStream()) //we need a memory stream so we can seek and shit
|
using (var ms = new MemoryStream()) //we need a memory stream so we can seek
|
||||||
using (var sr = new StreamReader(ms))
|
using (var sr = new StreamReader(ms))
|
||||||
{
|
{
|
||||||
raw.CopyTo(ms);
|
raw.CopyTo(ms);
|
||||||
|
@ -165,7 +165,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
Scheduler.AddDelayed(this.Exit, fadeOutTime);
|
Scheduler.AddDelayed(this.Exit, fadeOutTime);
|
||||||
|
|
||||||
//don't want to fade out completely else we will stop running updates and shit will hit the fan.
|
//don't want to fade out completely else we will stop running updates.
|
||||||
Game.FadeTo(0.01f, fadeOutTime);
|
Game.FadeTo(0.01f, fadeOutTime);
|
||||||
|
|
||||||
base.OnResuming(last);
|
base.OnResuming(last);
|
||||||
|
Loading…
Reference in New Issue
Block a user