From aa4b3e9e339e339228866928b90fe33027222a6c Mon Sep 17 00:00:00 2001 From: nomi-nonsz Date: Mon, 4 Aug 2025 16:00:15 +0700 Subject: [PATCH] fix citizen --- lua/autorun/reclass.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lua/autorun/reclass.lua b/lua/autorun/reclass.lua index bedba10..48e1880 100644 --- a/lua/autorun/reclass.lua +++ b/lua/autorun/reclass.lua @@ -1,4 +1,3 @@ - local npcs = list.Get("NPC") local citizenEnemy = npcs["npc_citizen_rebel_enemy"] @@ -6,7 +5,11 @@ if citizenEnemy then for class, npc in pairs(npcs) do if npc["Class"] == "npc_combine_s" and npc["Category"] ~= "#spawnmenu.category.combine" then npc["Class"] = citizenEnemy["Class"] - npc["KeyValues"] = citizenEnemy["KeyValues"] + npc["KeyValues"] = { + Hostile = 1, + SquadName = "overwatch", + citizentype = 4 + } list.Set("NPC", class, npc) end