Increase max allowed size to 50%!

This commit is contained in:
VerySoft
2022-08-29 00:37:32 -04:00
parent 3bdbf43455
commit 5f4879dae5
+2 -2
View File
@@ -7,7 +7,7 @@
anchored = TRUE
density = FALSE
var/max_accepted_scale = 0.3
var/max_accepted_scale = 0.5
var/magic = FALSE //For events and stuff, if true, this tunnel will show up in the list regardless of whether it's in valid range, of if you're in a tunnel with this var, all tunnels of the same faction will show up redardless of range
/obj/structure/micro_tunnel/Initialize()
@@ -149,7 +149,7 @@
enter_tunnel(user)
/obj/structure/micro_tunnel/proc/can_enter(var/mob/living/user)
if(user.mob_size <= MOB_TINY || user.size_multiplier <= max_accepted_scale)
if(user.mob_size <= MOB_TINY || user.get_effective_size(TRUE) <= max_accepted_scale)
return TRUE
return FALSE