Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BUGFIX] Cockroaches could be squished and killed when dead
#1
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/goonstati...x?expand=1
Reply
#2
Oh my god it's a literal bug fix
Reply
#3
Does this fix the bug where stepping on a dead cockroach would give the same message as stepping on and killing a live one?
Reply
#4
Yes, this fixes the bug where stepping on a dead bug gives the same message as stepping on a live bug.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)