You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix built-in script path of GDScript
This commit is contained in:
@@ -1050,6 +1050,11 @@ Error GDScript::load_byte_code(const String &p_path) {
|
||||
return ERR_COMPILATION_FAILED;
|
||||
}
|
||||
|
||||
void GDScript::set_path(const String &p_path, bool p_take_over) {
|
||||
Script::set_path(p_path, p_take_over);
|
||||
this->path = p_path;
|
||||
}
|
||||
|
||||
Error GDScript::load_source_code(const String &p_path) {
|
||||
Vector<uint8_t> sourcef;
|
||||
Error err;
|
||||
|
||||
Reference in New Issue
Block a user