Skip to content

Commit 06ff51d

Browse files
committed
hide fps
1 parent 54e4368 commit 06ff51d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/scenes/Play.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ local gfx <const> = Graphics
44
Play = {}
55
class("Play").extends(BaseScene)
66

7-
Noble.showFPS = true
8-
97
local items
108
local itemTimer
119
local player
@@ -52,6 +50,7 @@ end
5250
function Play:start()
5351
Play.super.start(self)
5452

53+
Noble.showFPS = true
5554
Signal:add("collected", self, function(_, _, value)
5655
local key = tostring(value)
5756
if items[key] == nil then
@@ -81,6 +80,7 @@ end
8180
function Play:exit()
8281
Play.super.exit(self)
8382

83+
Noble.showFPS = false
8484
itemTimer:remove()
8585
Signal:remove("collected")
8686
printTable(items)

0 commit comments

Comments
 (0)