mirror of
https://github.com/SoDOff-Project/sodoff-mmo.git
synced 2025-10-11 00:08:50 -07:00
correct SPV CUP type
This commit is contained in:
parent
4cf58fd1db
commit
b3724d9882
@ -53,9 +53,9 @@ class SetPositionVariablesHandler : CommandHandler {
|
||||
if (ue != null)
|
||||
vars.Add("UE", ue);
|
||||
// pitch
|
||||
string? cup = spvData.Get<string>("CUP");
|
||||
float? cup = spvData.Get<float>("CUP");
|
||||
if (cup != null)
|
||||
vars.Add("CUP", cup);
|
||||
vars.Add("CUP", (float)cup);
|
||||
|
||||
vars.Add("NT", DateTimeOffset.UtcNow.ToUnixTimeMilliseconds().ToString());
|
||||
vars.Add("t", (int)(Runtime.CurrentRuntime / 1000));
|
||||
|
Loading…
x
Reference in New Issue
Block a user