mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fix radio active site
This commit is contained in:
parent
f122c2db0a
commit
7b37ed7c07
@ -18,7 +18,8 @@ if (_outOfBounds) then {
|
||||
// radiated objects or locations nearby
|
||||
if !(_nearbyRadioactiveObjects isEqualTo []) then {
|
||||
// add extra rads based on intensity and distance from site.
|
||||
_radsLevel = ((_nearbyRadioactiveObjects select 0) getVariable ["EPOCH_Rads", 0]) / (player distance _radioActiveSite);
|
||||
_radioActiveSite = _nearbyRadioactiveObjects select 0;
|
||||
_radsLevel = (_radioActiveSite getVariable ["EPOCH_Rads", 0]) / (player distance _radioActiveSite);
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user