mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-21 21:23:11 +01:00
Fixes powertool sprites, fixes unfastening atmospheric devices
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user