mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix errors from cleanup
This commit is contained in:
parent
0436209dae
commit
a84be46ed4
@ -15,7 +15,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_accessLevel", "_return"];
|
||||
params ["_caller", "_targ"];
|
||||
params ["_caller", "_target"];
|
||||
|
||||
_accessLevel = _target getvariable [QGVAR(allowSharedEquipmentAccess), -1];
|
||||
|
||||
|
@ -78,7 +78,8 @@ _viscosityAdjustment = _viscosityChange / _timeInSystem;
|
||||
|
||||
[{
|
||||
params ["_args", "_idPFH"];
|
||||
_args params ["_target", "_timeInSystem", "_variable", "_amountDecreased","_decreaseAmount", "_usedMeds", "_viscosityAdjustment", "_painReduce"];
|
||||
_args params ["_target", "_timeInSystem", "_variable", "_amountDecreased","_decreaseAmount", "_viscosityAdjustment", "_painReduce"];
|
||||
private "_usedMeds";
|
||||
_usedMeds = _target getvariable [_variable, 0];
|
||||
_usedMeds = _usedMeds - _decreaseAmount;
|
||||
_target setvariable [_variable, _usedMeds];
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
params ["_target", "_caller", "_selectionName", "_className", "_items"];
|
||||
params ["_caller", "_target", "_selectionName", "_className", "_items"];
|
||||
|
||||
// TODO replace by event system
|
||||
[[_caller, _target], QUOTE(DFUNC(treatmentAdvanced_fullHealLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
|
||||
|
@ -13,8 +13,8 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_tourniquetItem", "_part", "_applyingTo"];
|
||||
params ["_target", "_tourniquets", "_selectionName"];
|
||||
private ["_tourniquets", "_part", "_applyingTo"];
|
||||
params ["_target", "_tourniquetItem", "_selectionName"];
|
||||
|
||||
[_target] call FUNC(addToInjuredCollection);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user