mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 06:10:45 -05:00
Improve VersionLabelPatch
to show eft version
This commit is contained in:
parent
ae2b98b69e
commit
581acc719f
@ -43,7 +43,9 @@ namespace Aki.Custom.Patches
|
|||||||
|
|
||||||
Traverse.Create(Singleton<PreloaderUI>.Instance).Field("_alphaVersionLabel").Property("LocalizationKey").SetValue("{0}");
|
Traverse.Create(Singleton<PreloaderUI>.Instance).Field("_alphaVersionLabel").Property("LocalizationKey").SetValue("{0}");
|
||||||
Traverse.Create(Singleton<PreloaderUI>.Instance).Field("string_2").SetValue(_versionLabel);
|
Traverse.Create(Singleton<PreloaderUI>.Instance).Field("string_2").SetValue(_versionLabel);
|
||||||
Traverse.Create(__result).Field("Major").SetValue(_versionLabel);
|
var major = Traverse.Create(__result).Field("Major");
|
||||||
|
var existingValue = major.GetValue();
|
||||||
|
major.SetValue($"{existingValue} {_versionLabel}" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user