Skip to content

Commit

Permalink
Remove player check from command
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Jul 1, 2024
1 parent 344f275 commit b43f4bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/gluatest/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ hook.Add( "Tick", "GLuaTest_Runner", function()
GLuaTest.runAllTests()
end )

concommand.Add( "gluatest_run_tests", function( ply )
if ply and IsValid( ply ) then return end
concommand.Add( "gluatest_run_tests", function()
GLuaTest.runAllTests()
end, nil, "Run all tests in the tests/ directory", FCVAR_PROTECTED )

0 comments on commit b43f4bc

Please # to comment.