Fix getting style type
This commit is contained in:
@@ -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)() .. {
|
||||||
|
|||||||
Reference in New Issue
Block a user