mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
puts message spam from not having keys on a vehicle on cooldown (#45507)
* Update maps.txt * Update ridden.dm
This commit is contained in:
@@ -60,7 +60,9 @@
|
||||
|
||||
/obj/vehicle/ridden/driver_move(mob/user, direction)
|
||||
if(key_type && !is_key(inserted_key))
|
||||
to_chat(user, "<span class='warning'>[src] has no key inserted!</span>")
|
||||
if(message_cooldown < world.time)
|
||||
to_chat(user, "<span class='warning'>[src] has no key inserted!</span>")
|
||||
message_cooldown = world.time + 5 SECONDS
|
||||
return FALSE
|
||||
if(legs_required)
|
||||
var/how_many_legs = user.get_num_legs()
|
||||
|
||||
Reference in New Issue
Block a user