Fix getting style type

This commit is contained in:
Josh Allen
2006-11-24 19:08:57 +00:00
parent b8e372d781
commit d75de6e2a0
@@ -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;