From 828280f7c17ba6b47dd02d8cf2124bd1ed6969c5 Mon Sep 17 00:00:00 2001 From: Novacat <35587478+Novacat@users.noreply.github.com> Date: Wed, 21 Apr 2021 02:32:14 -0400 Subject: [PATCH] Merge pull request #10187 from VOREStation/upstream-merge-8039 [MIRROR] Changed size check to type check for platform recharger denial check. --- code/game/machinery/rechargestation.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/rechargestation.dm b/code/game/machinery/rechargestation.dm index 98ad80e468..34d988e483 100644 --- a/code/game/machinery/rechargestation.dm +++ b/code/game/machinery/rechargestation.dm @@ -246,7 +246,7 @@ if(!R.cell) return - if(R.mob_size >= MOB_LARGE) + if(istype(R, /mob/living/silicon/robot/platform)) to_chat(R, SPAN_WARNING("You are too large to fit into \the [src].")) return