Skip to content

Commit

Permalink
fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauumm committed Nov 6, 2023
1 parent ddd7729 commit 50a3532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game_handler/assets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function assets.get_pack(version, id, headless)
id = pack_data.id
asset_loading_text_channel:push("Loading pack '" .. id .. "' assets")
asset_loading_progress_channel:push(0)
if pack_data.loaded and (pack_data.was_loaded_headlessly == headless or not headless) then
if pack_data.loaded and (pack_data.was_loaded_headlessly == headless or headless) then
asset_loading_progress_channel:push(1)
return pack_data
end
Expand Down

0 comments on commit 50a3532

Please sign in to comment.