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:
commit
5a3abadfe1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user