Changeset 301 for binary-improvements


Ignore:
Timestamp:
Jan 3, 2017, 6:17:25 PM (2 years ago)
Author:
alloc
Message:

Fixes

File:
1 edited

Legend:

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

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