mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Janicart Speed Exploit Fix (#21160)
* Janicart Speed Exploit Fix * Add early return --------- Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
co-authored by
adrermail@gmail.com <adrermail@gmail.com>
parent
9dcbc2605d
commit
bc378f010c
@@ -115,6 +115,10 @@
|
||||
to_chat(user,"<span class='notice'>You upgrade [src] with [I].</span>")
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
return
|
||||
if(istype(I, /obj/item/borg/upgrade/vtec) && floorbuffer)
|
||||
floorbuffer = FALSE
|
||||
vehicle_move_delay -= buffer_delay
|
||||
return ..() //VTEC installation is handled in parent attackby, so we're returning to it early
|
||||
if(mybag && user.a_intent == INTENT_HELP && !is_key(I))
|
||||
mybag.attackby(I, user)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user