1
0
Quellcode durchsuchen

[fixed] wrong if conditions in street_event

julzor vor 5 Jahren
Ursprung
Commit
4efa233c53
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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: