From 04921f55cb5a6658d07da2bece7e8223493b35da Mon Sep 17 00:00:00 2001 From: Emek Cohen Date: Fri, 25 Jul 2025 02:28:13 +0300 Subject: [PATCH] bug fix --- lua/permaprops/sv_specialfcn.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/permaprops/sv_specialfcn.lua b/lua/permaprops/sv_specialfcn.lua index addbaa6..b1ee5fe 100644 --- a/lua/permaprops/sv_specialfcn.lua +++ b/lua/permaprops/sv_specialfcn.lua @@ -9,7 +9,7 @@ if not PermaProps then PermaProps = {} end -PermaProps.SpecialENTSSpawn = {} +PermaProps.SpecialENTSSpawn = PermaProps.SpecialENTSSpawn or {} PermaProps.SpecialENTSSpawn["gmod_lamp"] = function( ent, data) ent:SetFlashlightTexture( data["Texture"] ) @@ -194,7 +194,7 @@ PermaProps.SpecialENTSSpawn["item_ammo_crate"] = function( ent, data ) end -PermaProps.SpecialENTSSave = {} +PermaProps.SpecialENTSSave = PermaProps.SpecialENTSSave or {} PermaProps.SpecialENTSSave["gmod_lamp"] = function( ent ) local content = {}