mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed an error in the nogame screen if the window's height is too small.
This commit is contained in:
@@ -867,11 +867,13 @@ function love.nogame()
|
||||
local c = str:sub(i, i)
|
||||
if c ~= " " then
|
||||
local piece = self.pieces[idx + i]
|
||||
piece.quad = GLYPHS[c]
|
||||
piece.r = 0
|
||||
piece.rv = 0
|
||||
piece.color.prev = INITIAL_TEXT_COLOR
|
||||
piece.color.next = INITIAL_TEXT_COLOR
|
||||
if piece then
|
||||
piece.quad = GLYPHS[c]
|
||||
piece.r = 0
|
||||
piece.rv = 0
|
||||
piece.color.prev = INITIAL_TEXT_COLOR
|
||||
piece.color.next = INITIAL_TEXT_COLOR
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user