File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ private static void turnOnLazyLoadingSelectively(ILContext il) {
131131 if ( orig || self . Name == null )
132132 return orig ;
133133
134- string name = self . Name . Replace ( " \\ " , "/" ) ;
134+ string name = self . Name ;
135135 if ( lazilyLoadedTextures . Contains ( name ) ) {
136136 Logger . Log ( LogLevel . Debug , "CollabUtils2/LazyLoadingHandler" , name + " was skipped and will be lazily loaded later" ) ;
137137
@@ -204,14 +204,14 @@ private static void lazyLoadTexturesOnAccess(ILContext il) {
204204
205205 // texture is lazily loaded if it is in our list.
206206 // this will make Everest actually check if the texture is loaded, and call Reload() if it is not.
207- string name = self . Name . Replace ( " \\ " , "/" ) ;
207+ string name = self . Name ;
208208 return lazilyLoadedTextures . Contains ( name ) ;
209209 } ) ;
210210 }
211211
212212 private static void onTextureLazyLoad ( On . Monocle . VirtualTexture . orig_Reload orig , VirtualTexture self ) {
213213 // this is actually called on every texture load, so we need to check if this is a lazy load or not
214- string name = self . Name . Replace ( " \\ " , "/" ) ;
214+ string name = self . Name ;
215215 if ( ! preloadingTextures && lazilyLoadedTextures . Contains ( name ) ) {
216216 string currentMap = ( Engine . Scene as Level ) ? . Session ? . Area . GetSID ( ) ;
217217
Original file line number Diff line number Diff line change 11- Name : CollabUtils2
2- Version : 1.6.3
2+ Version : 1.6.4
33 DLL : bin/Debug/net452/CollabUtils2.dll
44 Dependencies :
55 - Name : Everest
You can’t perform that action at this time.
0 commit comments