Skip to content

Commit

Permalink
Update _mecha.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
1393F committed Jan 23, 2024
1 parent 2c66400 commit 53051f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/vehicles/mecha/_mecha.dm
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,12 @@
if(isAI(user) == !LAZYACCESS(modifiers, MIDDLE_CLICK))//BASICALLY if a human uses MMB, or an AI doesn't, then do nothing.
return
if(phasing)
balloon_alert(user, "not while [phasing]!")
to_chat(occupants, "[icon2html(src, occupants)]<span class='warning'>Unable to interact with objects while phasing.</span>")
return
if(user.incapacitated())
return
if(construction_state)
balloon_alert(user, "end maintenance first!")
to_chat(occupants, "[icon2html(src, occupants)]<span class='warning'>Maintenance protocols in effect.</span>")
return
if(!get_charge())
return
Expand Down

0 comments on commit 53051f6

Please sign in to comment.