mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Fixes drinks allowing you to go into negative speed values. (#15604)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -50,14 +50,14 @@
|
||||
if(HAS_FLAG(mutations, mRun))
|
||||
tally = 0
|
||||
|
||||
tally += move_delay_mod
|
||||
tally += max(0, tally + move_delay_mod)
|
||||
|
||||
var/obj/item/I = get_active_hand()
|
||||
if(istype(I))
|
||||
tally += I.slowdown
|
||||
|
||||
if(tally > 0 && (CE_SPEEDBOOST in chem_effects))
|
||||
tally = max(0, tally-3)
|
||||
tally = max(0, tally - 3)
|
||||
|
||||
var/turf/T = get_turf(src)
|
||||
if(T) // changelings don't get movement costs
|
||||
|
||||
Reference in New Issue
Block a user