2006-11-22 01:58:11 +00:00
|
|
|
local style = GAMESTATE:GetCurrentStyle();
|
|
|
|
|
if not style then return Def.Actor {}; end
|
|
|
|
|
|
2006-11-25 11:02:16 +00:00
|
|
|
local s = style:GetStyleType();
|
2006-11-22 01:58:11 +00:00
|
|
|
local Reverse = PlayerNumber:Reverse();
|
2006-11-25 11:02:16 +00:00
|
|
|
s = string.gsub(s, "StyleType_", "");
|
2006-11-22 01:58:11 +00:00
|
|
|
|
2006-12-19 01:46:49 +00:00
|
|
|
local t = LoadActor("_icon " .. s) .. {
|
2006-11-22 01:58:11 +00:00
|
|
|
InitCommand = cmd(pause;setstate,Reverse[GAMESTATE:GetMasterPlayerNumber()]);
|
|
|
|
|
};
|
|
|
|
|
|
2006-11-25 11:02:16 +00:00
|
|
|
return t;
|