Support using the scarab bomb (fixes #1808)

Also fixes #1781. Partially fixes #1865.
This commit is contained in:
Lucas Nicodemus 2020-05-22 23:53:34 -07:00
parent 7452d3c91d
commit c5ec45bc02
No known key found for this signature in database
GPG key ID: A07BD9023D1664DB
2 changed files with 3 additions and 1 deletions

View file

@ -943,7 +943,8 @@ namespace TShockAPI
if ((type == ProjectileID.Bomb
|| type == ProjectileID.Dynamite
|| type == ProjectileID.StickyBomb
|| type == ProjectileID.StickyDynamite))
|| type == ProjectileID.StickyDynamite
|| type == ProjectileID.ScarabBomb))
{
// Denotes that the player has recently set a fuse - used for cheat detection.
args.Player.RecentFuse = 10;