Skip to content

Commit

Permalink
remove left over command
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiskster committed Sep 23, 2024
1 parent e6a83d0 commit 5eb9ed6
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/Lua/consolethings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,6 @@ COM_AddCommand("ptsr_makepizza", function(player, arg)
end
end,1)

COM_AddCommand("ptsr_panicblacklist", function(p, skin, bool)
if not (skin
and skins[skin]) then
CONS_Printf(p, "You must input a valid skin to add/remove to the blacklist.")
return
end

if not bool then
PTSR.panicblacklist[skin] = not PTSR.panicblacklist[skin]
local text1 = PTSR.panicblacklist[skin] and "Added " or "Removed "
local text2 = PTSR.panicblacklist[skin] and " into " or " from "
CONS_Printf(p, text1..skin..text2.."the blacklist.")
else
if bool == "true"
or bool == "add"
or bool == "yes" then
PTSR.panicblacklist[skin] = true
CONS_Printf(p, "Added "..skin.." into the blacklist.")
else
PTSR.panicblacklist[skin] = false
CONS_Printf(p, "Removed "..skin.." from the blacklist.")
end
end
end)

COM_AddCommand("ptsr_pizzatimenow", function(player)
if not PTSR.IsPTSR() then
CONS_Printf(player, "Command must be ran in the Pizza Time Spice Runners mode.")
Expand Down

0 comments on commit 5eb9ed6

Please sign in to comment.