mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
chore: remove debug logging from default map feature
This commit is contained in:
parent
e8767ce01a
commit
de926c5456
3 changed files with 2 additions and 5 deletions
2
main.js
2
main.js
|
|
@ -293,11 +293,9 @@ async function checkLoadParameters() {
|
|||
|
||||
// restore onloadBehavior from localStorage if saved
|
||||
const storedBehavior = localStorage.getItem("onloadBehavior");
|
||||
WARN && console.warn("Stored onloadBehavior:", storedBehavior);
|
||||
if (storedBehavior) {
|
||||
byId("onloadBehavior").value = storedBehavior;
|
||||
}
|
||||
WARN && console.warn("Current onloadBehavior value:", byId("onloadBehavior").value);
|
||||
|
||||
// check if there is a default map saved to indexedDB
|
||||
if (byId("onloadBehavior").value === "default") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue