ソースを参照

[fixed] Home settings for buying doggo should be good now

Kevin_Smarts 2 年 前
コミット
375ecce9e9
1 ファイル変更2 行追加2 行削除
  1. 2 2
      locations/zoomagazine.qsrc

+ 2 - 2
locations/zoomagazine.qsrc

@@ -125,11 +125,11 @@ if $ARGS[0] = 'start':
 		end
 	end
 
-	if money >= 3000 and rex['owned'] = 0 and func('homes_properties', 'has_access', 'parents_home') = 0 :
+	if money >= 3000 and rex['owned'] = 0 and $home['current'] ! 'parents_home':
 		act 'Buy a dog (3000 <b>₽</b>)':
 			cla & *clr
 			menu_off = 1
-			if ARRSIZE('home') > 0:
+			if $home['current'] ! '':
 				minut += 10
 				rex['owned'] = 1
 				money -= 3000