Advertisement
Jousway

spooky do it like this PLZ

Nov 6th, 2014
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. SortCommand=function(self)
  2.     local sort = GAMESTATE:GetSortOrder();
  3.     if sort ~= nil then
  4.         self:Load(THEME:GetPathG("icon", sort)); -- and call them "icon SortOrder_Preferred.png"
  5.     else
  6.     self:Load(THEME:GetPathG("", "sort_icon_unknown.png"));
  7. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement