Fixes welders blinding you when you repair robo-limbs and cyborgs (#12988)

* Fixes welders blinding you while repairing your own robo-limbs

* gives tool_start_check() a target argument

* flash be gone

* CRLF to LF

* adds trailing newlines because travis wants them I guess

Co-authored-by: SteelSlayer <SteelSlayer@users.noreply.github.com>
This commit is contained in:
SteelSlayer
2020-06-26 01:18:13 -06:00
committed by GitHub
co-authored by SteelSlayer
parent b0c0d44895
commit 74d0e6523b
14 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -221,7 +221,7 @@
. = TRUE
if(!powered())
return
if(!I.tool_start_check(user, 0))
if(!I.tool_start_check(src, user, 0))
return
input_dir = turn(input_dir, -90)
output_dir = turn(output_dir, -90)
+1 -1
View File
@@ -101,7 +101,7 @@
if(user.a_intent != INTENT_HELP)
return
. = TRUE
if(!I.tool_start_check(user, 0))
if(!I.tool_start_check(src, user, 0))
return
I.melee_attack_chain(user, stored_gun)