We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b38fa8 commit c6ae9cdCopy full SHA for c6ae9cd
1 file changed
game/simple_splash/init.lua
@@ -18,8 +18,8 @@ function SimpleSplash.new(width, height)
18
self.done = false
19
self.alpha = 1
20
local decoded = love.data.decode("data", "base64", SimpleSplash.CUBAN_FLAG)
21
- local fileData = love.filesystem.newFileData(decoded, "flag.png")
22
- local imageData = love.image.newImageData(fileData)
+ ---@diagnostic disable-next-line: param-type-mismatch
+ local imageData = love.image.newImageData(decoded)
23
self.flagImage = love.graphics.newImage(imageData)
24
25
self.loading_text = "LOADING..."
0 commit comments