Fix getting style type
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
local style = GAMESTATE:GetCurrentStyle();
|
||||
if not style then return Def.Actor {}; end
|
||||
|
||||
local s = style:GetName();
|
||||
local s = StyleTypeToString( style:GetStyleType() );
|
||||
local Reverse = PlayerNumber:Reverse();
|
||||
|
||||
local t = LoadActor("_icon " .. s)() .. {
|
||||
InitCommand = cmd(pause;setstate,Reverse[GAMESTATE:GetMasterPlayerNumber()]);
|
||||
};
|
||||
|
||||
return t;
|
||||
return t;
|
||||
Reference in New Issue
Block a user