Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Den109G authored Oct 14, 2024
1 parent 9e767f7 commit a0e7c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/elements/ridable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
if(ridable_atom.has_buckled_mobs()) // effect won't take place til the next time someone mounts it, so just prevent that situation
to_chat(user, span_warning("It's too dangerous to smear [speed_potion] on [ridable_atom] while it's being ridden!"))
return
var/speed_limit = round(CONFIG_GET(number/movedelay/run_delay) *1.5, 0.01)
var/speed_limit = round(CONFIG_GET(number/movedelay/run_delay) * 1.5, 0.01)
var/datum/component/riding/theoretical_riding_component = riding_component_type
var/theoretical_speed = initial(theoretical_riding_component.vehicle_move_delay)
if(theoretical_speed <= speed_limit) // i say speed but this is actually move delay, so you have to be ABOVE the speed limit to pass
Expand Down

0 comments on commit a0e7c17

Please sign in to comment.