mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
[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:
co-authored by
RandomGamer123
parent
356f07db04
commit
36010069da
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user