Skip to content

Commit

Permalink
Fixed it erroring once.
Browse files Browse the repository at this point in the history
  • Loading branch information
ynohtna92 committed Jun 12, 2015
1 parent fbdded0 commit b40432a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified resource/flash3/CustomUI_Timer.swf
Binary file not shown.
4 changes: 3 additions & 1 deletion src/CG_Timer.as
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@

public function updateCounter(e:TimerEvent) :void{
// Check if object still exist in ui.
if ( this.timeRemaining == null )
if ( this.timeRemaining == null ) {
kill()
return;
}

if (Globals.instance.Loader_overlay.movieClip.dota_paused.visible || this.timerPaused)
this.startTime += .1;
Expand Down
Binary file modified src/CustomUI_Timer.fla
Binary file not shown.

0 comments on commit b40432a

Please sign in to comment.