From 8b151aef2a6d9e2ed5998c1ae5b55de562067218 Mon Sep 17 00:00:00 2001 From: Tribow <58997765+Tribow@users.noreply.github.com> Date: Fri, 15 Jul 2022 18:05:49 -0400 Subject: [PATCH] I'm too lazy to get C# 7.0 lmao --- Distance.CameraAdditions/ConfigLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Distance.CameraAdditions/ConfigLogic.cs b/Distance.CameraAdditions/ConfigLogic.cs index fc0ec97..fd4a809 100644 --- a/Distance.CameraAdditions/ConfigLogic.cs +++ b/Distance.CameraAdditions/ConfigLogic.cs @@ -145,7 +145,7 @@ public void Awake() Save(); } - public T Get(string key, T @default = default) + public T Get(string key, T @default = default(T)) { return Config.GetOrCreate(key, @default); }