Ignore:
Timestamp:
Jan 3, 2017, 6:11:15 PM (8 years ago)
Author:
alloc
Message:

Fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/PersistentData/Player.cs

    r287 r300  
    8484                        get {
    8585                                if (IsOnline) {
    86                                         return totalPlayTime + (long)(Time.timeSinceLevelLoad - Entity.CreationTimeSinceLevelLoad);
     86                                        return totalPlayTime + (long)(lastOnline - DateTime.Now).TotalSeconds;
    8787                                } else {
    8888                                        return totalPlayTime;
Note: See TracChangeset for help on using the changeset viewer.