Skip to content

Commit

Permalink
Fixed thermo_electric_generator not anchoring
Browse files Browse the repository at this point in the history
default_unfasten_wrench() already contains "anchored=!anchored
  • Loading branch information
EbastianPereira authored Nov 23, 2023
1 parent ceb6db4 commit 50a6204
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/modules/power/generators/thermo_electric_generator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@
. = TRUE
if(!default_unfasten_wrench(user, I, 0))
return
anchored = !anchored
if(!anchored)
disconnect()
power_change()
Expand Down

0 comments on commit 50a6204

Please sign in to comment.