From 9094b6042d5ae4845d61f399ad93aa9cf2164bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:46:07 +0200 Subject: [PATCH] Fix d2_prison_04 players being able to trap themselves --- changelog.md | 1 + gamemode/gametypes/hl2/mapscripts/d2_prison_04.lua | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 18ebffa9..ad789510 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ - Fixed: d2_prison_05: Not removing default spawn items. - Fixed: d3_c17_07: Player clip blocking other players at the start of the map. - Fixed: d2_coast_10: Fade to black when jumping into the water. +- Fixed: d2_prison_04: Players can get trapped in the closet where the turret is. 0.9.27 - Fixed: Entity inputs/outputs are parsed incorrect. diff --git a/gamemode/gametypes/hl2/mapscripts/d2_prison_04.lua b/gamemode/gametypes/hl2/mapscripts/d2_prison_04.lua index a2807d75..1dfab609 100644 --- a/gamemode/gametypes/hl2/mapscripts/d2_prison_04.lua +++ b/gamemode/gametypes/hl2/mapscripts/d2_prison_04.lua @@ -28,7 +28,8 @@ MAPSCRIPT.EntityFilterByClass = {} MAPSCRIPT.EntityFilterByName = { ["global_newgame_template_base_items"] = true, ["global_newgame_template_local_items"] = true, - ["global_newgame_template_ammo"] = true + ["global_newgame_template_ammo"] = true, + ["closet_door_relay"] = true, } MAPSCRIPT.GlobalStates = {