Skip to content

Commit

Permalink
Revert "Update dropship_equipment.dm"
Browse files Browse the repository at this point in the history
This reverts commit 944e4ba.
  • Loading branch information
TheGamerdk committed Mar 1, 2024
1 parent 944e4ba commit e0688e8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions code/modules/cm_marines/dropship_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,13 @@
playsound(loc, 'sound/machines/hydraulics_2.ogg', 40, 1)
var/duration_time = 10
var/point_loc
var/old_loc = src.loc
if(ship_base)
duration_time = 70 //uninstalling equipment takes more time
point_loc = ship_base.loc
if(!do_after(user, duration_time * user.get_skill_duration_multiplier(SKILL_ENGINEER), INTERRUPT_NO_NEEDHAND|BEHAVIOR_IMMOBILE, BUSY_ICON_BUILD))
return
if(point_loc && ship_base && ship_base.loc != point_loc) //dropship flew away
return
if(old_loc != src.loc) //We somehow moved (possibly into a different powerloader)
return
if(!PC.linked_powerloader || PC.loaded || PC.linked_powerloader.buckled_mob != user)
return
PC.grab_object(user, src, "ds_gear", 'sound/machines/hydraulics_1.ogg')
Expand Down

0 comments on commit e0688e8

Please sign in to comment.