Browse Source

[fixes] Bugs spotted by the analyser

KevinSmarts 4 years ago
parent
commit
7140cb9fa5
2 changed files with 11 additions and 12 deletions
  1. 10 11
      locations/city_musicstore.qsrc
  2. 1 1
      locations/music_buskingevents.qsrc

+ 10 - 11
locations/city_musicstore.qsrc

@@ -99,20 +99,19 @@ if $ARGS[0] = 'cameback':
 		end
 	end
 	act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
-		act 'Try some guitars': 
+	act 'Try some guitars': 
 !!			TODO: Better scenes here			
-			if pcs_instrmusic < 30 and pcs_performing < 10:
-				'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
-			else
-				'Some texts here depending on music skill and performing skill'			
-			end
+		if pcs_instrmusic < 30 and pcs_performing < 10:
+			'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
+		else
+			'Some texts here depending on music skill and performing skill'			
 		end
-		act 'Leave': 
-			if ml_boughtguitar > 0 or ml_boughtamp > 0:
-				gt 'city_musicstore', 'payandtakestuff'
-			end
-			gt 'torgcentr'
+	end
+	act 'Leave': 
+		if ml_boughtguitar > 0 or ml_boughtamp > 0:
+			gt 'city_musicstore', 'payandtakestuff'
 		end
+		gt 'torgcentr'
 	end
 end
 

+ 1 - 1
locations/music_buskingevents.qsrc

@@ -48,7 +48,7 @@ if $ARGS[0] = 'calculate_tips':
 		ml_location_mod = 30
 	elseif $ARGS[1] = 'pav':
 		ml_location_mod = 0
-	elseif $ARGS[1] = 'oldtown'
+	elseif $ARGS[1] = 'oldtown':
 		ml_location_mod = 15
 	end