diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs
index 16f4b594f..41fe03b03 100644
--- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs
+++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs
@@ -35,7 +35,7 @@ public sealed class LogOnDetails
/// Gets or sets the CellID.
///
/// The CellID.
- public uint CellID { get; set; }
+ public uint? CellID { get; set; }
///
/// Gets or sets the LoginID. This number is used for identifying logon session.
@@ -133,7 +133,7 @@ public sealed class AnonymousLogOnDetails
/// Gets or sets the CellID.
///
/// The CellID.
- public uint CellID { get; set; }
+ public uint? CellID { get; set; }
///
/// Gets or sets the client operating system type.
@@ -333,7 +333,7 @@ public void LogOn( LogOnDetails details )
logon.Body.protocol_version = MsgClientLogon.CurrentProtocol;
logon.Body.client_os_type = ( uint )details.ClientOSType;
logon.Body.client_language = details.ClientLanguage;
- logon.Body.cell_id = details.CellID;
+ logon.Body.cell_id = details.CellID ?? Client.Configuration.CellID;
logon.Body.steam2_ticket_request = details.RequestSteam2Ticket;
@@ -393,7 +393,7 @@ public void LogOnAnonymous( AnonymousLogOnDetails details )
logon.Body.protocol_version = MsgClientLogon.CurrentProtocol;
logon.Body.client_os_type = ( uint )details.ClientOSType;
logon.Body.client_language = details.ClientLanguage;
- logon.Body.cell_id = details.CellID;
+ logon.Body.cell_id = details.CellID ?? Client.Configuration.CellID;
logon.Body.machine_id = HardwareUtils.GetMachineID();