mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
Warning/error fixing.
This commit is contained in:
parent
c82ae011fb
commit
82033faaab
@ -38,8 +38,7 @@ namespace osu.Game.Database
|
|||||||
using (Stream s = storage.GetStream(Path.Combine(replay_folder, replayFilename)))
|
using (Stream s = storage.GetStream(Path.Combine(replay_folder, replayFilename)))
|
||||||
using (SerializationReader sr = new SerializationReader(s))
|
using (SerializationReader sr = new SerializationReader(s))
|
||||||
{
|
{
|
||||||
var ruleset = Ruleset.GetRuleset((PlayMode)sr.ReadByte());
|
Ruleset.GetRuleset((PlayMode)sr.ReadByte());
|
||||||
|
|
||||||
score = new Score();
|
score = new Score();
|
||||||
|
|
||||||
/* score.Pass = true;*/
|
/* score.Pass = true;*/
|
||||||
|
@ -40,6 +40,9 @@ namespace osu.Game.Modes
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public event Action Failed;
|
public event Action Failed;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Notifies subscribers that the score is in a failed state.
|
||||||
|
/// </summary>
|
||||||
protected void TriggerFailed()
|
protected void TriggerFailed()
|
||||||
{
|
{
|
||||||
Failed?.Invoke();
|
Failed?.Invoke();
|
||||||
|
Loading…
Reference in New Issue
Block a user