2
0
Fork 0

(Fix) script will not be able to extend itself

2.0
mostafahassan 2015-03-31 21:34:50 +07:00
parent 7f8a0cddcf
commit 73ff3ac218
1 changed files with 1 additions and 1 deletions

@ -1689,7 +1689,7 @@ bool GDScript::_update_exports() {
}
if (c->extends_used && String(c->extends_file)!="") {
if (c->extends_used && String(c->extends_file)!="" && String(c->extends_file) != get_path()) {
String path = c->extends_file;
if (path.is_rel_path()) {