Skip to content

Commit

Permalink
Update Unit3dSetup.php
Browse files Browse the repository at this point in the history
  • Loading branch information
HDVinnie authored Feb 9, 2022
1 parent 0b7686e commit 5f292dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Installer/UNIT3D/Unit3dSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function clone()

$this->process(["git clone $url $install_dir"]);

if (!is_dir($install_dir) || !is_file("$install_dir/server.php")) {
if (!is_dir($install_dir)) {
$this->throwError('Something went wrong with the cloning process. Please report this bug!');
}
}
Expand Down

0 comments on commit 5f292dd

Please sign in to comment.