mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Update vanilla player_breakin.sqf
Vanilla commits:63aaf07a30b074e7d847fb3f69a69a416cc5dcf1b6c0dd584939a3d45965
This commit is contained in:
@@ -10,6 +10,6 @@ _return = [0.25] call fn_chance; // will return TRUE 25% of the time
|
||||
*************************************************************/
|
||||
private ["_result"];
|
||||
|
||||
if ((_this select 0) > (random 1)) then {_result = true;} else {_result = false;};
|
||||
_result = if (((_this select 0) * 100) > floor(random 100)) then { true } else { false };
|
||||
|
||||
_result
|
||||
|
||||
Reference in New Issue
Block a user