Parcourir la source

[fixed] wrong if conditions in street_event

julzor il y a 5 ans
Parent
commit
4efa233c53
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      locations/street_event.qsrc

+ 2 - 2
locations/street_event.qsrc

@@ -126,8 +126,8 @@ if money >= 2500:
 end
 
 !!The chance to get robbed is capped at 10%
-if streetev_rob >= 10: streetev_rob = 10
-if streetev_hijack >= 10: streetev_hijack = 10
+if streetev_rob > 10: streetev_rob = 10
+if streetev_hijack > 10: streetev_hijack = 10
 
 if $ARGS[1] = 'extras':
 	if rand(0, 100) < streetev_bf and pcs_lover < 3 and streetbfhour ! hour: