mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #2147 from jokoho48/codeCleanUpHitReaction
Code cleanup of HitReaction module
This commit is contained in:
commit
28ac2fbec6
@ -1,11 +1,7 @@
|
||||
// by commy2
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_unit", "_firer", "_damage"];
|
||||
|
||||
_unit = _this select 0;
|
||||
_firer = _this select 1;
|
||||
_damage = _this select 2;
|
||||
params ["_unit", "_firer", "_damage"];
|
||||
|
||||
// don't fall on collision damage
|
||||
if (_unit == _firer) exitWith {};
|
||||
|
Loading…
Reference in New Issue
Block a user