Parcourir la source

Bug fix - $message wasn't being cleared when purchasing items. (Hooded Silence)

Vengeance11 il y a 2 ans
Parent
commit
da92ac77e8
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      locations/sportShop.qsrc

+ 7 - 0
locations/sportShop.qsrc

@@ -33,6 +33,13 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
 	act 'View purses': minut += 5 & gt 'sportshop', 'purses'
 
 	act 'View coats': minut += 5 & gt 'sportshop', 'coats'
+		!! output from purchase
+	if $message ! '':
+		$message
+		killvar '$message'
+	else
+		'A tall muscular man stands next to the counter, showing a perfect smile. "Welcome, do you need any assistance in selecting equipment or tips how to improve your workout?"'
+	end
 
 	*pl '<center><table align="center" width=80%>'
 	if skak = 0 and money >= 500: