ExterminatorX99 / MagicStorageExtra

A tModLoader mod for Terraria
MIT License
10 stars 8 forks source link

Lag when crafting #44

Open Ragerock opened 3 years ago

Ragerock commented 3 years ago

I can understand why, I'm guessing the code runs to search for new recipes after anything new is crafted and added to storage, but if you could delay that for half a second or so, which is refreshed when something is crafted again, it'll create a situation where there isn't anything updating while constantly crafting the same thing like holding down the button to craft a bunch of iron bars instead of having to constantly click.

Similarly, it lags somewhat when using the search bar. If there's a way to instantly clear the search bar, that would definitely help so it doesn't look for "iron" then "iro" then "ir" then "i" and taking up processing power it doesn't need to. Or to delay the search by a half second everytime a change occured to to the search bar that refreshes when another change happens.

Hope this doesn't sound ungrateful, I love this mod and that it works with recursive crafting, thank you for making it!

ExterminatorX99 commented 3 years ago

Does this happen with only MSE enabled?