09-17-2018, 02:46 PM
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
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