mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2025-12-06 02:30:37 -08:00
Cleanup IS_DEMO flags and introduce Restriction Manager
This commit is contained in:
parent
81e7d96dd8
commit
fa27d1681f
21 changed files with 971 additions and 884 deletions
|
|
@ -7,11 +7,6 @@ export const IS_DEBUG =
|
|||
(window.location.host.indexOf("localhost:") >= 0 || window.location.host.indexOf("192.168.0.") >= 0) &&
|
||||
window.location.search.indexOf("nodebug") < 0;
|
||||
|
||||
export const IS_DEMO = queryParamOptions.fullVersion
|
||||
? false
|
||||
: (!G_IS_DEV && !G_IS_STANDALONE) ||
|
||||
(typeof window !== "undefined" && window.location.search.indexOf("demo") >= 0);
|
||||
|
||||
export const SUPPORT_TOUCH = false;
|
||||
|
||||
const smoothCanvas = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue