diff --git a/lua/pug/cl_pug.lua b/lua/pug/cl_pug.lua index 17a6a30..978d173 100644 --- a/lua/pug/cl_pug.lua +++ b/lua/pug/cl_pug.lua @@ -175,6 +175,8 @@ net.Receive("pug.send", function( len ) showSettings( net.ReadData( len ), len ) end) +language.Add("pug_istrap", "The entity cannot be unghosted because there is something inside it") +language.Add("pug_doorghost", "Your fading door has been ghosted because something was obstructing it") language.Add("pug_ghost", "Ghosted entities have limited interactability") language.Add("pug_entfrozen", "Target entity frozen") language.Add("pug_tool2fast", "You are using your tool gun too fast, slow down!") diff --git a/lua/pug/modules/ghosting.lua b/lua/pug/modules/ghosting.lua index e06dc2a..c18d689 100644 --- a/lua/pug/modules/ghosting.lua +++ b/lua/pug/modules/ghosting.lua @@ -202,7 +202,7 @@ function PUG:UnGhost( ent ) return true else if trap then - u.notifyOwner( "pug_istrap", NOTIFY_ERROR, 4, ent ) + u.notifyOwner( "pug_istrap", 1, 4, ent ) end return false end