[MIRROR] Fixes adding circuits to circuit airlocks [MDB IGNORE] (#10691)

* Fixes adding circuits to circuit airlocks (#63914)

* Fixes adding circuits to circuit airlocks

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-01-16 19:03:21 +00:00
committed by GitHub
co-authored by RandomGamer123
parent 356f07db04
commit 36010069da
+1 -2
View File
@@ -245,8 +245,7 @@
else if(I.tool_behaviour == TOOL_WELDER)
try_to_weld(I, user, params)
return TRUE
else if(!(I.item_flags & NOBLUDGEON) && !user.combat_mode)
try_to_activate_door(user)
else if((!(I.item_flags & NOBLUDGEON) && !user.combat_mode) && try_to_activate_door(user))
return TRUE
return ..()