Browse Source

Fix code sample in CPU optimization

Hugo Locurcio 1 month ago
parent
commit
3a28ad3263
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/performance/cpu_optimization.rst

+ 1 - 1
tutorials/performance/cpu_optimization.rst

@@ -101,7 +101,7 @@ the following:
     update_enemies()
 
     var time_end = Time.get_ticks_usec()
-    print("update_enemies() took %d microseconds" % time_end - time_start)
+    print("update_enemies() took %d microseconds" % (time_end - time_start))
 
  .. code-tab:: csharp