Science ID only refrences the M240 turret, but not the M2HB turret to be disabled on entrances #38717
Labels
<Bug>
This needs to be fixed
[C++]
Changes (can be) made in C++. Previously named `Code`
Good First Issue
This is a good first issue for a new contributor
Spawn
Creatures, items, vehicles, locations appearing on map
Describe the bug
If you look at the Science ID reader code, it only references the ID "mon_turret_rifle", which is the M249 turret in lab entrances, but the M2HB can also spawn there, which is "mon_turret_bmg". This means the M2HB does not get triggered to disappear like the M249 does leaving people a nasty .50cal surprise.
Steps To Reproduce
Solution
Cataclysm-DDA/src/iexamine.cpp
Line 784 in dd7312f
This needs to be adjusted to include the M2HB, but should also make sure that any other spawnable turrets also get included
The text was updated successfully, but these errors were encountered: