fix SPV CUP sending condition

This commit is contained in:
Robert Paciorek 2024-04-07 17:05:13 +00:00
parent ac2b8d72ff
commit 80b8874d50

View File

@ -53,7 +53,7 @@ class SetPositionVariablesHandler : CommandHandler {
if (ue != null) if (ue != null)
vars.Add("UE", ue); vars.Add("UE", ue);
// pitch // pitch
float? cup = spvData.Get<float>("CUP"); float? cup = spvData.Get<float?>("CUP");
if (cup != null) if (cup != null)
vars.Add("CUP", (float)cup); vars.Add("CUP", (float)cup);