Skip to content

Commit

Permalink
Fixed double load messages
Browse files Browse the repository at this point in the history
  • Loading branch information
onimitch committed Dec 21, 2023
1 parent b48b3e9 commit fb6f67e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Balloon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -574,16 +574,14 @@ ashita.events.register('load', 'balloon_load', function()
balloon.settings = settings.load(default_settings)
balloon.last_frame_time = os.clock()

balloon.initialize()
-- balloon.initialize()

-- Register for future settings updates
settings.register('settings', 'balloon_settings_update', function(s)
if (s ~= nil) then
balloon.settings = s
balloon.initialize()
end

--settings.save()
balloon.initialize()
end)
end)

Expand Down
2 changes: 0 additions & 2 deletions ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ local C = ffi.C
local d3d8dev = d3d.get_device()

local gdi = require('gdifonts.include')
local encoding = require('gdifonts.encoding')

local PI2 = math.pi*2
local d3dwhite = d3d.D3DCOLOR_ARGB(255, 255, 255, 255)

local ui = {}

Expand Down

0 comments on commit fb6f67e

Please sign in to comment.