Skip to content

Commit 18d2055

Browse files
committed
Fixes #125 ifdif SetstWriteTime for android because of known android bug
1 parent b122a4d commit 18d2055

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Scripts/Utilities/DataCache.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ public byte[] Find(string id)
113113
CacheItem item = null;
114114
if (m_Cache.TryGetValue(id, out item))
115115
{
116+
#if !UNITY_ANDROID
116117
item.Time = DateTime.Now;
117118

118119
File.SetLastWriteTime(item.Path, item.Time);
120+
#endif
119121

120122
if (item.Data == null)
121123
{

0 commit comments

Comments
 (0)