Browse Source

Update cancel_timer.gui_script

Björn Ritzl 3 years ago
parent
commit
4cec426de0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/timer/cancel_timer/cancel_timer.gui_script

+ 2 - 2
examples/timer/cancel_timer/cancel_timer.gui_script

@@ -19,7 +19,7 @@ function on_input(self, action_id, action)
 end
 end
 
 
 --[[
 --[[
-1. We will use interval of 1 [s].
+1. We will use interval of 1 (s).
 2. We will be repeating the timer endlessly.
 2. We will be repeating the timer endlessly.
 3. Start the timer with interval (1s) and repeating (true) and pass a callback function.
 3. Start the timer with interval (1s) and repeating (true) and pass a callback function.
 	Store the handle to the timer in self.timer.
 	Store the handle to the timer in self.timer.
@@ -30,4 +30,4 @@ end
 8. Cancel the timer using the saved self.timer handle.
 8. Cancel the timer using the saved self.timer handle.
 9. Get the text node.
 9. Get the text node.
 10. Update text node with an information that the timer was cancelled.
 10. Update text node with an information that the timer was cancelled.
---]]
+--]]