mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
basic critters can now hop in da vim (#61518)
This commit is contained in:
@@ -33,10 +33,10 @@
|
||||
return ..()
|
||||
|
||||
/obj/vehicle/sealed/car/vim/mob_try_enter(mob/entering)
|
||||
if(!isanimal(entering))
|
||||
if(!isanimal(entering) || !isbasicmob(entering))
|
||||
return FALSE
|
||||
var/mob/living/simple_animal/animal = entering
|
||||
if(animal.mob_size != MOB_SIZE_TINY)
|
||||
var/mob/living/animal_or_basic = entering
|
||||
if(animal_or_basic.mob_size != MOB_SIZE_TINY)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user