Parcourir la source

Fixed a bug that prevented mods from registering new locations.

netuttki il y a 2 ans
Parent
commit
178e8e76b3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      locations/homes_properties_attr.qsrc

+ 2 - 2
locations/homes_properties_attr.qsrc

@@ -430,10 +430,10 @@ if $ARGS[0] = 'add_new_home_location':
 	elseif $ARGS[2] = '' and $ARGS[3] = '':
 		!! WARNING: Either $ARGS[2] or $ARGS[3] must have a value, otherwise no mapping will be created
 		$home_name[$ARGS[1]] = ''
-	elseif $ARGS[2] = '':
+	elseif $ARGS[2] ! '':
 		$home_name[$ARGS[1]] = $home_name[$ARGS[2]]
 	else
-		$home_name[$ARGS[1]] = $ARGS[3]
+		$home_name[$ARGS[1]] = $home_name[$ARGS[3]]
 	end
 end
 --- homes_properties_attr ---------------------------------