diff options
Diffstat (limited to 'Asset_manager.cs')
-rw-r--r-- | Asset_manager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Asset_manager.cs b/Asset_manager.cs index 194d28f..3723e1d 100644 --- a/Asset_manager.cs +++ b/Asset_manager.cs | |||
@@ -118,7 +118,7 @@ namespace Second_server | |||
118 | } | 118 | } |
119 | private void load_asset(Asset_info info) | 119 | private void load_asset(Asset_info info) |
120 | { | 120 | { |
121 | string data_path=System.Windows.Forms.Application.StartupPath + @"\assets\"; | 121 | string data_path = System.AppDomain.CurrentDomain.BaseDirectory + @"\assets\"; |
122 | string filename=data_path+@info.filename; | 122 | string filename=data_path+@info.filename; |
123 | FileInfo fInfo = new FileInfo(filename); | 123 | FileInfo fInfo = new FileInfo(filename); |
124 | 124 | ||