View Single Post
11-27-09, 06:39 PM   #7
Tastyfrog
A Deviate Faerie Dragon
Join Date: Mar 2009
Posts: 15
wow, it is actually kinda easy to sort buffs. thanks.

my code:
Code:
local prePosition = function(self, a, n)
	table.sort(a, function(a,b) return a.timeLeft>b.timeLeft end)
end
  Reply With Quote