1
0
Эх сурвалжийг харах

[Fixed] Old variables spotted by Skylah

Awesome 8 сар өмнө
parent
commit
293a0a36ee

+ 1 - 1
locations/Komp.qsrc

@@ -342,7 +342,7 @@ if $ARGS[0] = 'kabtv':
 			msg 'Unfortunately your TV is too old and crap for cable. You''ll have to get a modern TV first.'
 			gt 'komp', 'browse'
 		end
-	elseif kabel = 0 and TV >= 2:
+	elseif kabel = 0 and mc_inventory['tech_tv'] >= 2:
 		'You currently do not have a cable subscription for your TV.'
 
 		act 'Get cable services for your TV (300 <b>₽</b> per month)':

+ 1 - 1
locations/divan.qsrc

@@ -36,7 +36,7 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
 
 	act 'wait':gs 'obj_din', 'wait'
 
-	if TV > 0 and $loc ! 'dachain':
+	if mc_inventory['tech_tv'] > 0 and $loc ! 'dachain':
 		act 'Watch TV':
 			cla
 			gt 'TV', 'start'