aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Texture_manager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Texture_manager.cs')
-rw-r--r--Texture_manager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Texture_manager.cs b/Texture_manager.cs
index 990557e..1321358 100644
--- a/Texture_manager.cs
+++ b/Texture_manager.cs
@@ -169,7 +169,7 @@ namespace Second_server
169 } 169 }
170 private void load_image(Texture_image im) 170 private void load_image(Texture_image im)
171 { 171 {
172 string data_path=System.Windows.Forms.Application.StartupPath + @"\textures\"; 172 string data_path=System.AppDomain.CurrentDomain.BaseDirectory + @"\textures\";
173 string filename=data_path+@im.filename; 173 string filename=data_path+@im.filename;
174 FileInfo fInfo = new FileInfo(filename); 174 FileInfo fInfo = new FileInfo(filename);
175 175