new community map! - islands by Richard0820

new community map! - islands by Richard0820
  enable community maps in settings

plasma ball
  tech: corona discharge - increase frequency and range of electric discharges
  several bug fixes

bug fix for some people that can't store settings between reloads
This commit is contained in:
landgreen
2022-03-28 18:58:53 -07:00
parent 4765bda74d
commit d0ed1c6d03
5 changed files with 114 additions and 106 deletions

View File

@@ -1236,9 +1236,13 @@ if (localSettings.isAllowed && !localSettings.isEmpty) {
simulation.isCommunityMaps = localSettings.isCommunityMaps
document.getElementById("community-maps").checked = localSettings.isCommunityMaps
if (localSettings.difficultyMode === undefined) localSettings.difficultyMode = "2"
simulation.difficultyMode = localSettings.difficultyMode
lore.setTechGoal()
document.getElementById("difficulty-select").value = localSettings.difficultyMode
if (localSettings.fpsCapDefault === undefined) localSettings.fpsCapDefault = 'max'
if (localSettings.fpsCapDefault === 'max') {
simulation.fpsCapDefault = 999999999;
} else {