Browse Source

Unused comparison causes error on clang. Suspect this was a typo.

Rob Messick 11 năm trước cách đây
mục cha
commit
b7386de590
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      script/gdscript/gd_script.cpp

+ 1 - 1
script/gdscript/gd_script.cpp

@@ -1416,7 +1416,7 @@ Error GDScript::reload() {
 	String basedir=path;
 
 	if (basedir=="")
-		basedir==get_path();
+		basedir=get_path();
 
 	if (basedir!="")
 		basedir=basedir.get_base_dir();