Files
itgmania212121/stepmania/Themes/default/Graphics/ScreenWithMenuElements StyleIcon/default.lua
T

13 lines
332 B
Lua
Raw Normal View History

2006-11-22 01:58:11 +00:00
local style = GAMESTATE:GetCurrentStyle();
if not style then return Def.Actor {}; end
local s = style:GetStyleType();
2006-11-22 01:58:11 +00:00
local Reverse = PlayerNumber:Reverse();
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()]);
};
return t;