1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 05:12:55 +08:00

Make APIAccess's state only privately settable

This commit is contained in:
Dean Herbert 2017-09-27 13:16:17 +08:00
parent 67481a1e6a
commit a17cc04cde

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;