1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Demo adjustments, fix missing dependency

This commit is contained in:
tobspr
2022-04-13 16:07:25 +02:00
parent a3a72e95ad
commit 6a0254b358
3 changed files with 2 additions and 10 deletions

View File

@@ -7,8 +7,6 @@ export const IS_DEBUG =
export const SUPPORT_TOUCH = false;
export const IS_MAC = navigator.platform.toLowerCase().indexOf("mac") >= 0 && !G_IS_DEV;
const smoothCanvas = true;
export const THIRDPARTY_URLS = {

View File

@@ -1,7 +1,6 @@
/* typehints:start */
import { Application } from "../application";
/* typehints:end */
import { IS_MAC } from "./config";
import { ExplainedResult } from "./explained_result";
import { queryParamOptions } from "./query_parameters";
import { ReadWriteProxy } from "./read_write_proxy";
@@ -74,11 +73,6 @@ export class RestrictionManager extends ReadWriteProxy {
* @returns {boolean}
*/
isLimitedVersion() {
if (IS_MAC) {
// On mac, the full version is always active
return false;
}
if (G_IS_STANDALONE) {
// Standalone is never limited
return false;