diff options
| author | Michael <[email protected]> | 2017-06-10 10:17:10 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-06-10 10:17:15 -0400 |
| commit | c40d071d58859e25b3781299b949b91caa0548fe (patch) | |
| tree | d26956e6a06336af403e05cfe0ace0e50ff1b6ea /ShiftOS.Objects/Save.cs | |
| parent | 7dd109719be8a9e8b52655665f490f4f7956df80 (diff) | |
| download | shiftos_thereturn-c40d071d58859e25b3781299b949b91caa0548fe.tar.gz shiftos_thereturn-c40d071d58859e25b3781299b949b91caa0548fe.tar.bz2 shiftos_thereturn-c40d071d58859e25b3781299b949b91caa0548fe.zip | |
main menu system + sandbox mode
Diffstat (limited to 'ShiftOS.Objects/Save.cs')
| -rw-r--r-- | ShiftOS.Objects/Save.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS.Objects/Save.cs b/ShiftOS.Objects/Save.cs index 7891a22..6e7f167 100644 --- a/ShiftOS.Objects/Save.cs +++ b/ShiftOS.Objects/Save.cs @@ -76,10 +76,14 @@ namespace ShiftOS.Objects _setCpCallbacks.Remove(callback); } + public bool IsSandbox = false; + public ulong Codepoints { get { + if (IsSandbox == true) + return 0; if (_updTimer == null) _updTimer = new Timer((o) => syncCp(), null, 0, 300000); lock (_cpLock) @@ -89,6 +93,8 @@ namespace ShiftOS.Objects } set { + if (IsSandbox == true) + return; lock (_cpLock) { _cp = value; |
