Browse Source

Fix comment regarding first invocation of getTime

Joel Schumacher 5 years ago
parent
commit
8d627c88ae
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/timer/Timer.h

+ 2 - 1
src/modules/timer/Timer.h

@@ -73,7 +73,8 @@ public:
 
 
 	/**
 	/**
 	 * Gets the amount of time in seconds passed since its first invocation
 	 * Gets the amount of time in seconds passed since its first invocation
-	 * (which happens as part of Timer::step at the start of love.run).
+	 * (which happens as part of the Timer constructor,
+	 * which is called when the module is first opened).
 	 * Useful for profiling code or measuring intervals.
 	 * Useful for profiling code or measuring intervals.
 	 * The time is microsecond-precise, and increases monotonically.
 	 * The time is microsecond-precise, and increases monotonically.
 	 * @return The time (in seconds)
 	 * @return The time (in seconds)