Skip to content

Commit

Permalink
remove unified_maxslope modoption (beyond-all-reason#3660)
Browse files Browse the repository at this point in the history
  • Loading branch information
SethDGamre authored Sep 1, 2024
1 parent 05c70a0 commit 762d9a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
6 changes: 0 additions & 6 deletions gamedata/movedefs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -833,12 +833,6 @@ local moveDatas = {
local defs = {}

for moveName, moveData in pairs(moveDatas) do
if Spring.GetModOptions().unified_maxslope then
if moveData.maxslope then
moveData.maxslope = math.max(moveData.maxslope, 36)
end
end

moveData.heatmapping = true
moveData.name = moveName
moveData.allowRawMovement = true
Expand Down
12 changes: 1 addition & 11 deletions modoptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1201,17 +1201,7 @@ local options = {
section = "options_experimental",
def = false,
},

{
key = "unified_maxslope",
name = "Standardized Land Unit Maxslope",
desc = "All land units have minimum maxslope of 36",
type = "bool",
hidden = true,
def = false,
section = "options_experimental",
},


{
key = "faction_limiter",
name = "Team Faction Limiter",
Expand Down

0 comments on commit 762d9a5

Please sign in to comment.