Fix getting style type

This commit is contained in:
Josh Allen
2006-11-24 19:08:57 +00:00
parent b8e372d781
commit d75de6e2a0
@@ -1,7 +1,7 @@
local style = GAMESTATE:GetCurrentStyle(); local style = GAMESTATE:GetCurrentStyle();
if not style then return Def.Actor {}; end if not style then return Def.Actor {}; end
local s = style:GetName(); local s = StyleTypeToString( style:GetStyleType() );
local Reverse = PlayerNumber:Reverse(); local Reverse = PlayerNumber:Reverse();
local t = LoadActor("_icon " .. s)() .. { local t = LoadActor("_icon " .. s)() .. {