Fixes powertool sprites, fixes unfastening atmospheric devices

This commit is contained in:
atermonera
2022-02-05 14:18:10 -08:00
parent e960a4c18e
commit 61e12c7839
14 changed files with 22 additions and 18 deletions
@@ -284,7 +284,7 @@
if (unlocked)
to_chat(user, "<span class='warning'>You cannot unwrench \the [src], turn it off first.</span>")
return TRUE
return default_deconstruction_wrench(user, W)
return default_deconstruction_wrench(W, user)
#undef REGULATE_NONE
#undef REGULATE_INPUT
@@ -245,4 +245,4 @@ Thus, the two variables affect pump operation are set in New():
if (!(stat & NOPOWER) && use_power)
to_chat(user, "<span class='warning'>You cannot unwrench this [src], turn it off first.</span>")
return TRUE
return default_deconstruction_wrench(user, W)
return default_deconstruction_wrench(W, user)