1
0
Эх сурвалжийг харах

[fixed] wrong if conditions in street_event

julzor 5 жил өмнө
parent
commit
4efa233c53

+ 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: