diff options
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
| -rw-r--r-- | TimeHACK.Main/TitleScreen.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs index bf6e145..aa48592 100644 --- a/TimeHACK.Main/TitleScreen.cs +++ b/TimeHACK.Main/TitleScreen.cs @@ -128,8 +128,10 @@ namespace TimeHACK gameversion.Text = "TimeHACK " + Program.gameID; // Initialize Font - pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\LeviWindows.ttf"); - pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\windows_command_prompt.ttf"); + File.WriteAllBytes(Data + "\\LeviWindows.ttf", Resources.LeviWindows); + File.WriteAllBytes(Data + "\\windows_command_prompt.ttf", Resources.windows_command_prompt); + pfc.AddFontFile(Data + "\\LeviWindows.ttf"); + pfc.AddFontFile(Data + "\\windows_command_prompt.ttf"); gameversion.Font = new Font(pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, (0)); // Start the VM Mode timer |
