1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:42:54 +08:00

Merge pull request #1320 from peppy/api-state-fixes

Make APIAccess's state only privately settable
This commit is contained in:
Dan Balasescu 2017-09-27 14:53:16 +09:00 committed by GitHub
commit 5a3abadfe1

View File

@ -225,7 +225,7 @@ namespace osu.Game.Online.API
public APIState State public APIState State
{ {
get { return state; } get { return state; }
set private set
{ {
APIState oldState = state; APIState oldState = state;
APIState newState = value; APIState newState = value;