Skip to content

Commit

Permalink
- Fixed a bug with short path that not execute the games
Browse files Browse the repository at this point in the history
  • Loading branch information
Speedvicio committed Dec 12, 2024
1 parent ad990d4 commit 8428519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MetroMed/MetroMed.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions MetroMed/MetroMed.vb
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,8 @@ Public Class MetroMed
End Sub

Public Sub StartProcess()
If File.Exists(TagSplit(4)) = False Then
MetroMessageBox.Show(Me, Path.GetFileNameWithoutExtension(TagSplit(4)) & " do not exist", "Can't run the game...", MessageBoxButtons.OK, MessageBoxIcon.Error)
If File.Exists(FileParameter) = False Then
MetroMessageBox.Show(Me, Path.GetFileNameWithoutExtension(FileParameter) & " do not exist", "Can't run the game...", MessageBoxButtons.OK, MessageBoxIcon.Error)
Exit Sub
End If

Expand Down

0 comments on commit 8428519

Please sign in to comment.