Browse Source

change: _console FPS

micha 8 months ago
parent
commit
f9e4487b43
1 changed files with 2 additions and 1 deletions
  1. 2 1
      _console.py

+ 2 - 1
_console.py

@@ -966,7 +966,8 @@ class Main():
             time.sleep(1/30)
             if fps >= stop_fps:
                 fps_t = time.time()
-                print(round(stop_fps/(fps_t-fps_start),2),"core/fps") 
+                FPS = round(stop_fps/(fps_t-fps_start),2)
+                print("{:0.0f} core/fps".format(FPS) ) 
                 fps = 0
                 fps_start = time.time()