Skip to content

Commit

Permalink
Update Verb_ShootCE.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Keshash committed Sep 10, 2023
1 parent 03848ee commit b33e5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CombatExtended/CombatExtended/Verbs/Verb_ShootCE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ protected virtual bool OnCastSuccessful()
//Drop casings
if (VerbPropsCE.ejectsCasings && projectilePropsCE.dropsCasings)
{
CE_Utility.ThrowEmptyCasing(caster.DrawPos, caster.Map, DefDatabase<FleckDef>.GetNamed(projectilePropsCE.casingMoteDefname));
CE_Utility.ThrowEmptyCasing(caster.DrawPos, caster.Map, DefDatabase<FleckDef>.GetNamed(projectilePropsCE.casingMoteDefname), VerbPropsCE.recoilAmount, shotRotation);
CE_Utility.MakeCasingFilth(caster.Position, caster.Map, DefDatabase<ThingDef>.GetNamed(projectilePropsCE.casingFilthDefname));
}
// This needs to here for weapons without magazine to ensure their last shot plays sounds
Expand Down

0 comments on commit b33e5fb

Please sign in to comment.