mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 07:34:36 +00:00
Satchel Slope Fix
Fixes satchel not dealing damage if placed on slopes
This commit is contained in:
parent
12a2d825a2
commit
cc832e1d7f
1 changed files with 3 additions and 1 deletions
|
|
@ -696,7 +696,9 @@ function SatchelChargeThrown::onDestroyed(%this, %object, %lastState)
|
||||||
}
|
}
|
||||||
|
|
||||||
%object.blowingUp = true;
|
%object.blowingUp = true;
|
||||||
RadiusExplosion(%object, %object.getPosition(), %dmgRadius, %dmgMod, %expImpulse, %object.sourceObject, %dmgType);
|
//Slope fix by DarkTiger
|
||||||
|
RadiusExplosion(%object, vectorAdd(%object.getPosition(),"0 0 1"), %dmgRadius, %dmgMod, %expImpulse, %object.sourceObject, %dmgType);
|
||||||
|
///RadiusExplosion(%object, %object.getPosition(), %dmgRadius, %dmgMod, %expImpulse, %object.sourceObject, %dmgType);
|
||||||
|
|
||||||
%object.schedule(1000, "delete");
|
%object.schedule(1000, "delete");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue