1. function wt_global_information.OnUpdate( event, tickcount )
  2. wt_global_information.Now = tickcount
  3. --gGW2MiniondeltaT = tostring(tickcount - wt_global_information.lastrun)
  4. if (tickcount - wt_global_information.lastrun > 10) then
  5. wt_global_information.lastrun = tickcount
  6. wt_core_controller.Run()
  7. --GUI_RefreshWindow(wt_global_information.MainWindow.Name)
  8. end
  9. end