It is currently March 28th, 2024, 5:07 pm

Problem with :show()

Discuss the use of Lua in Script measures.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Problem with :show()

Post by smurfier »

Ummm... I don't see a difference between those two blocks of code.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am
Contact:

Re: Problem with :show()

Post by Kaelri »

It took me a minute to see it, as well. meter --> meters

Code: Select all

for _, meter in ipairs(meter.bg.Nextdaypos) do meter:Show() end

Code: Select all

for _, meter in ipairs(meters.bg.Nextdaypos) do meter:Show() end
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Problem with :show()

Post by smurfier »

Whoops... forgot one character. Sorry for that.
Post Reply