Performance tank when queuing builds without materials
Hello!
Just noticing that while placing builds that already have materials is fine, but for example, queueing up 100 dynamite in a row without any is extremely laggy.
This could be easily solved by cacheing/queuing these kinds of builds: if you don't have materials, run a simple check over them and don't add them to a queue.
Periodic check, or check every time a related material is produced, would be a good way to update said builds.
Thanks!