KamuiKody / k-pokemontcg

35 stars 52 forks source link

Optimization for Bigger servers #3

Closed Kmack710 closed 3 years ago

Kmack710 commented 3 years ago

It was checking items every 0.5 seconds to fill vmenu -- Now it checks if they are in store every 2.5 seconds if they are in store loads items for menu if not it checks again in 2.5 seconds. If in store triggers instore = true , when you leave store it triggers instore = false then just keeps checking if your in store to load list when you go back into the store.