Commit a49e75e3 by Ignacio Etcheverry Committed by GitHub

Merge pull request #7526 from nounoursheureux/fix-getcurrentdrive

Fix _Directory::get_current_drive error condition from breaking the build
parents ce992863 54b20874
......@@ -1865,7 +1865,7 @@ String _Directory::get_drive(int p_drive){
return d->get_drive(p_drive);
}
int _Directory::get_current_drive() {
ERR_FAIL_COND_V(!d,"");
ERR_FAIL_COND_V(!d,0);
return d->get_current_drive();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment