修正profile模块小问题

This commit is contained in:
MrZ626
2021-12-19 17:06:44 +08:00
parent 485bd72241
commit 12ea2d76be

View File

@@ -140,11 +140,11 @@ function profile.switch()
switch=not switch
if not switch then
profile.stop()
love.system.setClipboardText(PROFILE.report())
PROFILE.reset()
love.system.setClipboardText(profile.report())
profile.reset()
return false
else
PROFILE.start()
profile.start()
return true
end
end