修正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 switch=not switch
if not switch then if not switch then
profile.stop() profile.stop()
love.system.setClipboardText(PROFILE.report()) love.system.setClipboardText(profile.report())
PROFILE.reset() profile.reset()
return false return false
else else
PROFILE.start() profile.start()
return true return true
end end
end end