mirror of
https://github.com/EpicMorg/UniversalValveToolbox.git
synced 2025-01-13 15:18:14 +03:00
fix not-install steam
This commit is contained in:
parent
3e8164fcc1
commit
a5bbb8f563
@ -11,8 +11,8 @@ namespace UniversalValveToolbox.Utils {
|
||||
public static SteamDataViewModel SteamData {
|
||||
get {
|
||||
var result = new SteamDataViewModel();
|
||||
result.SteamPid = SteamPathsUtil.GetActiveProcessSteamData().PID;
|
||||
result.UserNameSteam = SteamPathsUtil.GetSteamData().LastGameNameUsed;
|
||||
result.SteamPid = SteamPathsUtil.GetActiveProcessSteamData()?.PID ?? 0;
|
||||
result.UserNameSteam = SteamPathsUtil.GetSteamData()?.LastGameNameUsed ?? null;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user