only show physics stats for singleplayer if debug set to true
This commit is contained in:
parent
7ac306d9d3
commit
68fff7c074
4
init.lua
4
init.lua
@ -1,6 +1,6 @@
|
||||
|
||||
-- global
|
||||
pova = {}
|
||||
pova = {debug = false}
|
||||
|
||||
-- local
|
||||
local pova_list = {}
|
||||
@ -117,7 +117,7 @@ pova.do_override = function(player)
|
||||
end
|
||||
|
||||
-- for testing only
|
||||
if name == "singleplayer" then
|
||||
if pova.debug and name == "singleplayer" then
|
||||
print ("speed: " .. speed .. " / jump: " .. jump .. " / gravity: " .. gravity)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user