aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/BSODCreator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Engine/BSODCreator.cs')
-rw-r--r--TimeHACK.Engine/BSODCreator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TimeHACK.Engine/BSODCreator.cs b/TimeHACK.Engine/BSODCreator.cs
index 4e25fea..6c49b7b 100644
--- a/TimeHACK.Engine/BSODCreator.cs
+++ b/TimeHACK.Engine/BSODCreator.cs
@@ -21,7 +21,7 @@ namespace TimeHACK.Engine
public Win9XBSOD throw9XBSOD(bool except, BSODCauses type)
{
- pfc.AddFontFile(SaveSystem.GameDirectory + "\\Data\\windows_command_prompt.ttf");
+ pfc.AddFontFile($@"{SaveSystem.GameDirectory}\Data\windows_command_prompt.ttf");
Win9XBSOD bsod = new Win9XBSOD();
foreach (Control ctrl in bsod.Controls) {
ctrl.Font = new System.Drawing.Font(pfc.Families[0], 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((0)));