bug: [basalt.autoUpdate() Expected something before the end of the line Tip: Use () to call with no arguments] #115
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Im new to this framework and just Lua in general btw. I was just writing code to add titlebars and stuff for some movable windows and all of a sudden I got this error. I removed all the code I had just added but it still won't work.
Expected behavior
The code should run and a movable window should appear
Screenshots

Checklist
[*] I am running the latest version.
Tick the box if you are running the latest version!
Also the code freezes the computer and no matter how much you change the file it WILL NOT RUN it will say the same error with the same line the original error it was on
Can you send me the code you're using?
https://github.com/SlideShowGames/n4-Window-Manager/blob/main/startup.lua
Hm, interesting, i downloaded your startup.lua and your basalt.lua and it worked (only thing i had to do was adding an end and removing setHorizontalAlign/setVerticalAlign from buttons):

How do you test your code? I was using CraftOS-PC for it.
I tested using CraftOS-PC and CraftOS-PC accelerated