Skip to content
Snippets Groups Projects
Commit 19c45b08 authored by Sebastian Vråle's avatar Sebastian Vråle
Browse files

fixed indents

parent 85218fde
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,7 @@ newInscription{ ...@@ -182,7 +182,7 @@ newInscription{
info = function(self, t) info = function(self, t)
local data = self:getInscriptionData(t.short_name) local data = self:getInscriptionData(t.short_name)
local what = table.keys(data.what) local what = table.keys(data.what)
local what_string = "" local what_string = ""
if #what > 1 then if #what > 1 then
local first_effects = {} local first_effects = {}
for i=1, #what-1 do for i=1, #what-1 do
...@@ -272,7 +272,7 @@ newInscription{ ...@@ -272,7 +272,7 @@ newInscription{
local first_effects = {} local first_effects = {}
for i=1, #what-1 do for i=1, #what-1 do
table.insert(first_effects, what[i]) table.insert(first_effects, what[i])
end end
what_string = what_string .. table.concat(first_effects, ", ") .. " or " .. what[#what] what_string = what_string .. table.concat(first_effects, ", ") .. " or " .. what[#what]
else else
what_string = what[1] what_string = what[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment