rem: for (var currResource in resourcePool) 
add: for (var currResource in resourcePool) 
context: function refreshResources (){	// Refreshes all resource counters after update.	var resourcePool = localPlayer.resource;	var resourceCount = 0;	for (var currResource in resourcePool)	{		// Pass the array index of the resource as the second parameter (as we'll need that to determine the centered screen position of each counter).		refreshResource (toTitleCase(currResource), resourceUIArray[resourceCount]);		resourceCount++;	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/7dd219756b44102fbab2e7cc9ffbd5a04a4422b3/functions_sim_player.js/buggy/binaries/data/mods/official/gui/test/functions_sim_player.js