Skip to content

Commit

Permalink
Don't use deprecated ApplicationData
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Jun 26, 2024
1 parent e42f827 commit ffda625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/gameviewloading.pas
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ procedure TViewLoading.Start;
ImageBackground := TCastleImageControl.Create(FreeAtStop);
ImageBackground.Stretch := true;
ImageBackground.ProportionalScaling := psEnclose;
ImageBackground.URL := ApplicationData('gui/loading.png');
ImageBackground.URL := 'castle-data:/gui/loading.png';
ImageBackground.FullSize := true;
ImageBackground.Anchor(hpMiddle);
ImageBackground.Anchor(vpMiddle);
Expand Down

0 comments on commit ffda625

Please sign in to comment.