1
0
Selaa lähdekoodia

[fixed] wrong if conditions in street_event

julzor 5 vuotta sitten
vanhempi
sitoutus
4efa233c53
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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: