-
-
Save JMV38/6015514 to your computer and use it in GitHub Desktop.
Back screen bug solution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- 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