since in theory we can use the default theme for multiple gametypes, add a notification of current gametype.
This commit is contained in:
@@ -15,6 +15,10 @@ local children = {
|
||||
self:settext( text )
|
||||
end;
|
||||
};
|
||||
LoadFont("Common", "normal") .. {
|
||||
Text="Current Gametype: "..GAMESTATE:GetCurrentGame():GetName();
|
||||
OnCommand=cmd(x,SCREEN_LEFT+20;y,SCREEN_TOP+36;horizalign,left;diffuse,0.6,0.6,0.6,1;zoom,0.5;shadowlength,2);
|
||||
};
|
||||
}
|
||||
|
||||
return Def.ActorFrame { children = children };
|
||||
|
||||
Reference in New Issue
Block a user