SHOW:
|
|
- or go back to the newest paste.
| 1 | sortname ={
| |
| 2 | "SortOrder_Preferred" = "sort_icon_preferred.png", | |
| 3 | "SortOrder_Group" = "sort_icon_group.png", | |
| 4 | - | self:Load(THEME:GetPathG("icon", sort)); -- and call them "icon SortOrder_Preferred.png"
|
| 4 | + | } |
| 5 | ||
| 6 | SortCommand=function(self) | |
| 7 | local sort = GAMESTATE:GetSortOrder(); | |
| 8 | if sort ~= nil then | |
| 9 | self:Load(THEME:GetPathG("", sortname));
| |
| 10 | else | |
| 11 | self:Load(THEME:GetPathG("", "sort_icon_unknown.png"));
| |
| 12 | end; |