瀏覽代碼

[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