It is currently April 20th, 2024, 10:35 am

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.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

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.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .