Browse Source

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

Rob Messick 11 years ago
parent
commit
b7386de590
1 changed files with 1 additions and 1 deletions
  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();