Преглед на файлове

Fix comment regarding first invocation of getTime

Joel Schumacher преди 5 години
родител
ревизия
8d627c88ae
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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)