Force Render and Input event processing

to unblock window during idle
This commit is contained in:
Minz committed 2023-06-01 22:24:18 +02:00
1 parent aa81ffc0a7
commit 5c3a863a2d
1 file changed
+2
+2
View File
@@ -14,6 +14,8 @@ func InitWebsocket():
print("Connected")
while true:
await PollWebsocket()
RenderingServer.force_draw()
DisplayServer.process_events()
func PollWebsocket():