From 617d0c0afab1e0083284b5df24c494e5e5ddc3eb Mon Sep 17 00:00:00 2001
From: kevinz000 <2003111+kevinz000@users.noreply.github.com>
Date: Wed, 5 Feb 2020 00:26:47 -0700
Subject: [PATCH] armor
---
code/modules/pool/pool_main.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/modules/pool/pool_main.dm b/code/modules/pool/pool_main.dm
index 9f867df31e..9d37bd5fd5 100644
--- a/code/modules/pool/pool_main.dm
+++ b/code/modules/pool/pool_main.dm
@@ -126,7 +126,7 @@
H.visible_message("[H] falls in and takes a drink!",
"You fall in and swallow some water!")
playsound(src, 'sound/effects/splash.ogg', 60, TRUE, 1)
- else if(!H.head || !(H.head.armor.getRating(melee) > 20))
+ else if(!H.head || !(H.head.armor.getRating("melee") > 20))
if(prob(75))
H.visible_message("[H] falls in the drained pool!",
"You fall in the drained pool!")