Merge pull request #9 from valnssh/master

A fix and improved notifications.
This commit is contained in:
NanoAi 2025-01-22 21:44:59 -05:00 committed by GitHub
commit e8f3fb0977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -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!")

View File

@ -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