only show prop respawn message for sandbox

This commit is contained in:
Pierce 2022-01-15 14:29:49 -05:00 committed by plally
parent 31c6e53589
commit 460af95389

View File

@ -242,7 +242,9 @@ local function addButtonsBar( frame )
barPanel.Paint = nil barPanel.Paint = nil
function barPanel:Think() function barPanel:Think()
if not self.showOnce then if not self.showOnce then
showMessage( "You'll have the option to respawn your props when you rejoin." ) if GAMEMODE_NAME == "sandbox" then
showMessage( "You'll have the option to respawn your props when you rejoin." )
end
self.showOnce = true self.showOnce = true
end end