fix(core): Fixes call priority (#553)

- [X] Fixes call priority
This commit is contained in:
Kamron Batman 2021-03-15 16:51:27 -07:00 committed by GitHub
parent c50322c0e3
commit 24ed9b3236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

View file

@ -73,12 +73,12 @@ namespace Server
if (objs.Length == 0)
{
return 0;
return 50;
}
if (!(objs[0] is CallPriorityAttribute attr))
{
return 0;
return 50;
}
return attr.Priority;