kepler155c / opus-apps

Computercraft Applications for Opus OS
MIT License
30 stars 27 forks source link

Fix swshop breaking with other websockets #12

Closed Kan18 closed 4 years ago

Kan18 commented 4 years ago

w.lua does not like websockets not opened with w.lua. This fixes that. This should fix not being able to use cloudcatcher/chatbox and operate the shop at the same time. Also, I know that just doing a pcall seems like a hacky thing to do but I tried editing the findid function and it wouldn't work.

kepler155c commented 4 years ago

good stuff...