- Timestamp:
- Aug 30, 2014, 3:47:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/MapRendering/MapRenderBlockBuffer.cs
r142 r143 29 29 } 30 30 31 public voidLoadBlock (Vector2i block)31 public bool LoadBlock (Vector2i block) 32 32 { 33 bool res = false; 33 34 Monitor.Enter (blockMap); 34 35 try { … … 37 38 Directory.CreateDirectory (folder); 38 39 if (!fileName.Equals (currentBlockMap)) { 40 res = true; 39 41 SaveBlock(); 40 42 loadTextureFromFile (fileName); … … 44 46 Monitor.Exit (blockMap); 45 47 } 48 return res; 46 49 } 47 50
Note:
See TracChangeset
for help on using the changeset viewer.