aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UFiles.pas2
-rw-r--r--Game/Code/Screens/UScreenStatMain.pas2
2 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UFiles.pas b/Game/Code/Classes/UFiles.pas
index 912a476d..aa336233 100644
--- a/Game/Code/Classes/UFiles.pas
+++ b/Game/Code/Classes/UFiles.pas
@@ -239,7 +239,7 @@ begin
end
// Video File
- else if (Identifier = 'VIDEO') then
+ else if (Identifier = 'VIDEO') AND (FileExists(Song.Path + Value)) then
begin
Song.Video := Value;
end
diff --git a/Game/Code/Screens/UScreenStatMain.pas b/Game/Code/Screens/UScreenStatMain.pas
index 219ccd57..54457a6e 100644
--- a/Game/Code/Screens/UScreenStatMain.pas
+++ b/Game/Code/Screens/UScreenStatMain.pas
@@ -109,7 +109,7 @@ begin
//Set Songs with Vid
SongswithVid := 0;
For I := 0 to high(Songs.Song) do
- if (Songs.Song[I].Video <> '') AND FileExists(Songs.Song[I].Path + Songs.Song[I].Video) then
+ if (Songs.Song[I].Video <> '') then
Inc(SongswithVid);
end;