Bläddra i källkod

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

Vengeance11 2 år sedan
förälder
incheckning
da92ac77e8
1 ändrade filer med 7 tillägg och 0 borttagningar
  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: