Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Whitespace, syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
expwnent committed Sep 25, 2015
1 parent c68fbd2 commit 9341dd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/scripts/modtools/building-trigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ validArgs = validArgs or utils.invert({
'clear',
'checkEvery',
'building',
'location''
'location',
'number',
'liquid',
})
Expand Down
2 changes: 1 addition & 1 deletion raw/scripts/wrapper/checkCounters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function checkCounters(unit,array)
else
return false, "Minimum counter not reached"
end
elseif style = 'percent' then
elseif style == 'percent' then
rando = dfhack.random.new()
roll = rando:drandom()
if roll <= tables[counter]/cap and cap >=1 then
Expand Down
2 changes: 1 addition & 1 deletion raw/scripts/wrapper/checks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ local function checkCounters(unit,array)
else
return false, "Minimum counter not reached"
end
elseif style = 'percent' then
elseif style == 'percent' then
rando = dfhack.random.new()
roll = rando:drandom()
if roll <= tables[counter]/cap and cap >=1 then
Expand Down

0 comments on commit 9341dd3

Please sign in to comment.