Goonstation Forums
[BUGFIX] Cockroaches could be squished and killed when dead - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [BUGFIX] Cockroaches could be squished and killed when dead (/showthread.php?tid=8910)



[BUGFIX] Cockroaches could be squished and killed when dead - LuigiThirty - 06-16-2017

If a cockroach is attacked, you squish it and kill it instantly. If it's dead and attacked, it would respond with the same message. My immersion! I added an .alive check and an alternate message if the cockroach is already dead. Same with Clownspiders.

Testing: I spawned a cockroach and squished it twice, getting the different message the second time. I did the same with a Clownspider but they don't leave a body behind to squish after they're dead.

Patch: https://github.com/goonstation/goonstation-2016/compare/goonstation-2016-byond510...Luigi30:cockroach-fix?expand=1


RE: [BUGFIX] Cockroaches could be squished and killed when dead - Firebarrage - 06-19-2017

Oh my god it's a literal bug fix


RE: [BUGFIX] Cockroaches could be squished and killed when dead - awfulworldkid - 06-19-2017

Does this fix the bug where stepping on a dead cockroach would give the same message as stepping on and killing a live one?


RE: [BUGFIX] Cockroaches could be squished and killed when dead - LuigiThirty - 06-19-2017

Yes, this fixes the bug where stepping on a dead bug gives the same message as stepping on a live bug.