Skip to content

Commit

Permalink
Fix Game.get_file() (#291)
Browse files Browse the repository at this point in the history
Former-commit-id: 18bc9f0
  • Loading branch information
tkashkin authored and hagabaka committed Aug 23, 2019
1 parent 3245149 commit 506ef92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/Game.vala
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ namespace GameHub.Data
File[] dirs = { install_dir };
if(overlays_enabled)
{
dirs += install_dir.get_child(FSUtils.GAMEHUB_DIR).get_child(FSUtils.OVERLAYS_DIR).get_child(Overlay.BASE);
if(from_all_overlays)
{
dirs += install_dir.get_child(FSUtils.GAMEHUB_DIR).get_child("_overlay").get_child("merged");
dirs += install_dir.get_child(FSUtils.GAMEHUB_DIR).get_child(FSUtils.OVERLAYS_DIR).get_child(Overlay.BASE);
foreach(var overlay in overlays)
{
if(overlay.id == Overlay.BASE) continue;
Expand Down

0 comments on commit 506ef92

Please sign in to comment.