Skip to content

Commit

Permalink
Another small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LC4492 committed Aug 2, 2024
1 parent fc4f670 commit 6cd392e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/modules/shuttle/computers/dropship_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@
return

// initial flight time
var/flight_duration = is_flyby ? DROPSHIP_TRANSIT_DURATION : DROPSHIP_TRANSIT_DURATION
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 / GLOB.ship_alt
flight_duration = DROPSHIP_TRANSIT_DURATION * 1.5
else
flight_duration = DROPSHIP_TRANSIT_DURATION * SHUTTLE_OPTIMIZE_FACTOR_TRAVEL * GLOB.ship_alt
flight_duration = DROPSHIP_TRANSIT_DURATION * SHUTTLE_OPTIMIZE_FACTOR_TRAVEL

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

if(optimised)
recharge_duration = SHUTTLE_RECHARGE * SHUTTLE_OPTIMIZE_FACTOR_RECHARGE * GLOB.ship_alt
recharge_duration = SHUTTLE_RECHARGE * SHUTTLE_OPTIMIZE_FACTOR_RECHARGE

for(var/obj/structure/dropship_equipment/equipment as anything in dropship.equipments)
// fuel enhancer
Expand Down

0 comments on commit 6cd392e

Please sign in to comment.