A fix and improved notifications.

Fixed "expected integer" in network.lua:90.

Improved "pug_istrap" & "pug_doorghost" notifications.
This commit is contained in:
val 2022-07-15 20:35:54 -03:00
parent 355624047b
commit 5d4ad09f76
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