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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user