From aad1c56f471b45d28f0c30a28f17120d6c6356d5 Mon Sep 17 00:00:00 2001 From: JetBoom Date: Sun, 9 Nov 2014 05:12:44 -0500 Subject: [PATCH] Fix mistake in last commit. --- gamemodes/zombiesurvival/gamemode/sh_util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/zombiesurvival/gamemode/sh_util.lua b/gamemodes/zombiesurvival/gamemode/sh_util.lua index 067a2c8..cd5a27c 100644 --- a/gamemodes/zombiesurvival/gamemode/sh_util.lua +++ b/gamemodes/zombiesurvival/gamemode/sh_util.lua @@ -70,7 +70,7 @@ function LightVisible(posa, posb, ...) end end - return not util.TraceLine({start = posa, endpos = posb, mask = MASK_SHOT_OPAQUE, filter}).Hit + return not util.TraceLine({start = posa, endpos = posb, mask = MASK_SHOT_OPAQUE, filter = filter}).Hit end function WorldVisible(posa, posb)