mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
markers - generate from config file
This commit is contained in:
parent
0530ebbde7
commit
b156f3cdf9
6 changed files with 499 additions and 839 deletions
5
main.js
5
main.js
|
|
@ -2,7 +2,10 @@
|
|||
// https://github.com/Azgaar/Fantasy-Map-Generator
|
||||
|
||||
"use strict";
|
||||
// set debug options
|
||||
const version = "1.662"; // generator version
|
||||
document.title += " v" + version;
|
||||
|
||||
// Switches to disable/enable logging features
|
||||
const PRODUCTION = location.hostname && location.hostname !== "localhost" && location.hostname !== "127.0.0.1";
|
||||
const DEBUG = localStorage.getItem("debug");
|
||||
const INFO = DEBUG || !PRODUCTION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue