Skip to content

Commit

Permalink
Apply duration if optimized and remove recharge change
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Aug 2, 2024
1 parent 6cd392e commit 71f595f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/shuttle/computers/dropship_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
var/flight_duration = is_flyby ? DROPSHIP_TRANSIT_DURATION / GLOB.ship_alt : DROPSHIP_TRANSIT_DURATION * GLOB.ship_alt
if(optimised)
if(is_flyby)
flight_duration = DROPSHIP_TRANSIT_DURATION * 1.5
flight_duration *= 1.5
else
flight_duration = DROPSHIP_TRANSIT_DURATION * SHUTTLE_OPTIMIZE_FACTOR_TRAVEL
flight_duration *= SHUTTLE_OPTIMIZE_FACTOR_TRAVEL

// recharge time before dropship can take off
var/recharge_duration = SHUTTLE_RECHARGE * GLOB.ship_alt
var/recharge_duration = SHUTTLE_RECHARGE

if(optimised)
recharge_duration = SHUTTLE_RECHARGE * SHUTTLE_OPTIMIZE_FACTOR_RECHARGE
Expand Down

0 comments on commit 71f595f

Please sign in to comment.