mob/var/tmp/prePanel
mob/var/tmp/statPanelDelay
var/defaultStatPanelDelay=5
mob/Stat()
for(var/i=1; i<=src.statPanelDelay; i++)
if(src.prePanel!=src.client.statpanel) break
sleep(1)
src.prePanel=src.client.statpanel
src.statPanelDelay=defaultStatPanelDelay
Problem description:
So, three tabs on my stat panel will lag the person in the game. They will freeze and skip until you change tabs. Happens with any byond version (Tested with 511,510, and 509) And only recently started to happen after i increase the player view size (was 8 and is now 12) And i tired tinkering around with the code and had no noticeable results.