Skip to content

Commit

Permalink
Fix linter errors :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom committed May 25, 2020
1 parent d09f5a5 commit bc3127b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/entities/glorifiedbanking_cardreader/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand Down

0 comments on commit bc3127b

Please sign in to comment.