Browse Source

[fixed] wrong variable checked.

anjuna krokus 6 months ago
parent
commit
e868003de0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/sentence.qsrc

+ 1 - 1
locations/sentence.qsrc

@@ -393,7 +393,7 @@ if $ARGS[0] = 'punishment':
 	elseif mid($policeQW_courthearing_subjects[0], 1, 12) = 'prostitution':
 		policeQW['prostitution_counter'] += 1
 
-		if policeQW['shoplift_counter'] <= 5:
+		if policeQW['prostitution_counter'] <= 5:
 			!present how much the player needs to pay
 			if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
 				temp_fine += 6000