From 35a94f1c6116df71c35f9049690686aa7d4a26cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:58:06 +0300 Subject: [PATCH 1/2] Fix running 'skill' concommand in version 201211+ --- gamemode/sh_difficulty.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gamemode/sh_difficulty.lua b/gamemode/sh_difficulty.lua index a28103cf..a8a2642d 100644 --- a/gamemode/sh_difficulty.lua +++ b/gamemode/sh_difficulty.lua @@ -160,7 +160,10 @@ function GM:AdjustDifficulty() if data == nil then return end if SERVER then - RunConsoleCommand("skill", tostring(data.Skill)) + if tonumber(VERSION) < 201211 then + -- Remove this once main is updated. + RunConsoleCommand("skill", tostring(data.Skill)) + end game.SetSkillLevel(data.Skill) for k, v in pairs(self.EnemyNPCs or {}) do From 2cc92f3935e0a3a8e651dafc37a6894769eee396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:59:32 +0300 Subject: [PATCH 2/2] Update changelog.md --- changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.md b/changelog.md index 5947842c..84c129b0 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ - Improved: Hints will no longer show duplicates, instead it will renew the existing hint that has the same text. - Improved: ep1_c17_05: Add a checkpoint after the hallway. - Fixed: ep1_c17_02a: Alyx not picking up a shotgun. +- Fixed: No longer runs 'skill' concommand, it's blocked since version 201211. 0.9.24 - Fixed: trigger_multiple ignoring the delay time.