Changeset 300 for binary-improvements
- Timestamp:
- Jan 3, 2017, 6:11:15 PM (8 years ago)
- Location:
- binary-improvements/7dtd-server-fixes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/ModInfo.xml
r289 r300 5 5 <Description value="Common functions" /> 6 6 <Author value="Christian 'Alloc' Illy" /> 7 <Version value="1 3" />7 <Version value="14" /> 8 8 <Website value="http://7dtd.illy.bz" /> 9 9 </ModInfo> -
binary-improvements/7dtd-server-fixes/src/PersistentData/Player.cs
r287 r300 84 84 get { 85 85 if (IsOnline) { 86 return totalPlayTime + (long)( Time.timeSinceLevelLoad - Entity.CreationTimeSinceLevelLoad);86 return totalPlayTime + (long)(lastOnline - DateTime.Now).TotalSeconds; 87 87 } else { 88 88 return totalPlayTime;
Note:
See TracChangeset
for help on using the changeset viewer.