You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix _Directory::get_current_drive error condition
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user