Changes between Initial Version and Version 1 of Ticket #1459, comment 2


Ignore:
Timestamp:
May 30, 2012, 2:37:16 AM (12 years ago)
Author:
historic_bruno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1459, comment 2

    initial v1  
    44Could it be a line ending issue?
    55
    6 We never explicitly use `Object`, it would be better if you just used `{}`. Also `InitTracker` doesn't seem to depend on or modify the `StatisticsTracker` state, so it could just as easy easily be a global function instead.
     6We never explicitly use `Object`, it would be better if you just used `{}`. Also `InitTracker` doesn't seem to depend on or modify the `StatisticsTracker` state, so it could just as easily be a global function instead.
    77
    88`StatisticsTracker` is actually associated with a player entity, not the global `SYSTEM_ENTITY`, so you'll want to use `this.entity` instead when setting the timer interval.