Back screen bug solution
-- fix the black screen problem by dave1707 | |
function setup() | |
project = "forum bone simeon" --YOUR PROJECT NAME HERE | |
projectTabs = listProjectTabs(project) | |
for t = 1, #projectTabs do | |
fix(project..":"..projectTabs[t]) | |
end | |
print("finished") | |
end | |
function fix(name) | |
count=0 | |
str="" | |
a=readProjectTab(name) | |
for z=1,string.len(a) do | |
s=string.sub(a,z,z) | |
if string.byte(s)>142 then | |
str=str.." " | |
count = count + 1 | |
else | |
str=str..s | |
end | |
end | |
saveProjectTab(name,str) | |
print(name,"fixed",count) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment