Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor don't update. #4

Open
Zonk1987 opened this issue May 21, 2023 · 0 comments
Open

monitor don't update. #4

Zonk1987 opened this issue May 21, 2023 · 0 comments

Comments

@Zonk1987
Copy link

Hey i hope you are active and can answer some question about your API.

I apologize in advance for my bad english.

I am working on this at the moment and would like to use your API to add some buttons to it but i have a problem with this.
https://github.com/Zonk1987/ComputerCraft/tree/main

In the file : "citizenStatus.lua" i have added:
Line 26: button.setMonitor(mon)
Line 381,382 and 384,385: the buttons witch i want to use
Line 389: the await function to call both buttons

My problem is that now the ShowCitizens() function doesn't update any more on the screen and i need to click anywhere on the monitor to see new details of the citizens.

What i am doing wrong ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant