Explorar o código

use the most reliable way for the condition

rachels %!s(int64=3) %!d(string=hai) anos
pai
achega
c350da9ede
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      locations/saveupdater.qsrc

+ 1 - 1
locations/saveupdater.qsrc

@@ -845,7 +845,7 @@ if ml_update_1 = 0:
 end
 
 !! changed $metkaM to $locM_arg and $metka to $loc_arg in the code - needed for correction saves saved prior to version 0.8.1
-if $locM_arg = '' and $metkaM ! '':
+if arrsize('$metkaM') > 0 or arrsize('$metka') > 0:
 	$locM_arg = $metkaM
 	$loc_arg = $metka
 	killvar '$metkaM'