Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to get timerId in Сorona console?
Started by stalxerhd Jan 14 2020 12:37 AM

- - - - -
No replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

stalxerhd

[GLOBAL: userInfoPane.html]
stalxerhd
  • Enthusiast

  • 37 posts
  • Corona SDK

I have a bunch of timers and I use «timer2» to control all of it. But sometimes (maybe in 2-3 times in a 10 min session), I see in the console that warning:

 

WARNING: timer.resume( timerId ) ignored because timerId was not paused.

 

Could Corona print the name of this timerId instead of warning me? All my timers have name, so it should't be so hard.

 

I could not find it in the code, because I stop/pause everything symmetrically, and nothing changes in the game after this warning.




[topic_controls]
[/topic_controls]