Skip to content

Commit

Permalink
Merge pull request #65 from Wargus/setDirty
Browse files Browse the repository at this point in the history
Removal of `menu::setDirty(true)` (removed from Stratagus with Guicha…
  • Loading branch information
andreas-volz authored Mar 14, 2024
2 parents 608ad8d + 1cd6455 commit ccdb758
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/menus/campaign.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function RunImageStep(filename, pagenum)
local time = 0
local alpha = 255
local function listen()
menu:setDirty(true)
if time <= fadespeed then
alpha = math.max(0, alpha - 255 / fadespeed)
blackScreen:setBaseColor(Color(0, 0, 0, math.floor(alpha)))
Expand Down

0 comments on commit ccdb758

Please sign in to comment.