Changeset 300


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

Fixes

Location:
binary-improvements/7dtd-server-fixes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/ModInfo.xml

    r289 r300  
    55                <Description value="Common functions" />
    66                <Author value="Christian 'Alloc' Illy" />
    7                 <Version value="13" />
     7                <Version value="14" />
    88                <Website value="http://7dtd.illy.bz" />
    99        </ModInfo>
  • 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.