1
0
Kaynağa Gözat

Fixed a bug that prevented mods from registering new locations.

netuttki 1 yıl önce
ebeveyn
işleme
178e8e76b3
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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 ---------------------------------