fixes #9256 (error with deactivating bots and dropping ammo)

Put in fix for issue #9256. Hopefully this is all that was needed. Used similar function call as standard turret, as that still dropped ammo fine.