mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Satchel Slope Fix
Fixes satchel not dealing damage if placed on slopes
This commit is contained in:
parent
12a2d825a2
commit
cc832e1d7f
|
|
@ -696,7 +696,9 @@ function SatchelChargeThrown::onDestroyed(%this, %object, %lastState)
|
|||
}
|
||||
|
||||
%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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue