mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 18:19:53 +08:00
Hack fix for models not updating correctly when added in DB
This commit is contained in:
@@ -117,6 +117,8 @@ namespace osu.Game.Online
|
||||
|
||||
// when model states are being updated from manager, update the model being held by us also so that it will
|
||||
// be up do date when being consumed for reading files etc.
|
||||
// the value -> null -> value change is to force the bindable to update the value instance
|
||||
Model.Value = null;
|
||||
Model.Value = s;
|
||||
State.Value = state;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user