Very bad juju to name a frame "clock". Best to change that first.
You're also defining the local variable "timer" multiple times. Have a separate variable for each OnUpdate's elapsed count, or use the frame itself to store the elapsed count, such as "GUI_DashFPS.elapsed"
Unfortunately I don't have much time for a thorough code check.
Last edited by Nibelheim : 01-29-12 at 11:32 AM.
|