From 32c40753fe47a76ba25381e42dc2bfa285b8a07e Mon Sep 17 00:00:00 2001 From: freem Date: Tue, 30 Sep 2014 23:36:13 -0500 Subject: [PATCH] Fix error that comes from using LoadFont --- .../BGAnimations/ScreenSystemLayer overlay/default.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/BGAnimations/ScreenSystemLayer overlay/default.lua b/Themes/_fallback/BGAnimations/ScreenSystemLayer overlay/default.lua index 0e638d6afe..e1c916da2b 100644 --- a/Themes/_fallback/BGAnimations/ScreenSystemLayer overlay/default.lua +++ b/Themes/_fallback/BGAnimations/ScreenSystemLayer overlay/default.lua @@ -36,7 +36,8 @@ end; OnCommand=cmd(diffuse,PlayerColor(PlayerNumber);fadebottom,1); }; }; - t[#t+1] = LoadFont("Common","Normal") .. { + t[#t+1] = Def.BitmapText{ + Font="Common Normal"; Name = "PlayerText"; InitCommand=cmd(x,-60;maxwidth,80/0.5;zoom,0.5;queuecommand,"On"); OnCommand=cmd(playcommand,"Set"); @@ -70,7 +71,8 @@ t[#t+1] = Def.ActorFrame { OnCommand=cmd(finishtweening;diffusealpha,0.85;); OffCommand=cmd(sleep,3;linear,0.5;diffusealpha,0;); }; - LoadFont("Common","Normal") .. { + Def.BitmapText{ + Font="Common Normal"; Name="Text"; InitCommand=cmd(maxwidth,750;horizalign,left;vertalign,top;y,SCREEN_TOP+10;x,SCREEN_LEFT+10;shadowlength,1;diffusealpha,0;); OnCommand=cmd(finishtweening;diffusealpha,1;zoom,0.5);