Ignore:
Timestamp:
Jan 19, 2019, 6:12:21 PM (6 years ago)
Author:
alloc
Message:

Fixed game version compatibility of GamePrefs
Code style cleanup (mostly argument names)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/FileCache/DirectAccess.cs

    r325 r351  
    55        // Not caching at all, simply reading from disk on each request
    66        public class DirectAccess : AbstractCache {
    7                 public override byte[] GetFileContent (string filename) {
     7                public override byte[] GetFileContent (string _filename) {
    88                        try {
    9                                 if (!File.Exists (filename)) {
     9                                if (!File.Exists (_filename)) {
    1010                                        return null;
    1111                                }
    1212
    13                                 return File.ReadAllBytes (filename);
     13                                return File.ReadAllBytes (_filename);
    1414                        } catch (Exception e) {
    1515                                Log.Out ("Error in DirectAccess.GetFileContent: " + e);
Note: See TracChangeset for help on using the changeset viewer.