From bc3127bbb468cb32f79cbf29e38f986bb688707b Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 25 May 2020 18:56:08 +0100 Subject: [PATCH] Fix linter errors :) --- lua/entities/glorifiedbanking_cardreader/cl_init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/entities/glorifiedbanking_cardreader/cl_init.lua b/lua/entities/glorifiedbanking_cardreader/cl_init.lua index 22c9779..5806c18 100644 --- a/lua/entities/glorifiedbanking_cardreader/cl_init.lua +++ b/lua/entities/glorifiedbanking_cardreader/cl_init.lua @@ -108,6 +108,8 @@ ENT.Screens[2].drawFunction = function(self) --Transaction confirm screen end ENT.Screens[3].drawFunction = function(self) --Present payment device screen + local hovering = false + surface.SetDrawColor(theme.Data.Colors.readerBgCol) surface.DrawRect(0, 0, scrw, scrh) @@ -131,6 +133,8 @@ ENT.Screens[3].drawFunction = function(self) --Present payment device screen surface.DrawTexturedRectRotated(60, scrh - 70, 45, 45, 180) draw.DrawText(i18n.GetPhrase("gbPleasePresent"), "GlorifiedBanking.ReaderEntity.PresentDevice", scrw * .5, scrh * .5 - 70, theme.Data.Colors.readerLoadingTextCol, TEXT_ALIGN_CENTER) + + return hovering end ENT.Screens[4].drawFunction = function(self) --Loading screen