Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BUG] Can unwrench meteor shield generators from wires while active.
#1
This is a bug with that atmos shield generator/meteor shield generator patch I made a while back I noticed the other day while setting up some meteor shields in response to an oncoming meteor shower.

Basically, if the generator is hit with a wrench  while it's active, it won't unwrench it. You'll just get

I didn't make it pull request because that seemed like overkill for what is essentially 3 lines of code, but I can if someone needs it:

if (active)
    boutput(user, "Disconnecting [src.name] from the power source while active doesn't sound like the best idea.")
    return

It should be placed in line 166 of shield_generator.dm right below the wrench type check.

Here's the line in the pull request:

https://github.com/goonstation/goonstati...or.dm#L166
Reply
#2
yee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)