Fixed issues found by PVS-Studio

This commit is contained in:
Wojtek Figat
2024-09-09 18:21:59 +02:00
parent c62575612b
commit bbb0d36494
11 changed files with 31 additions and 34 deletions

View File

@@ -50,7 +50,6 @@ namespace FlaxEditor.CustomEditors.Editors
return;
}
}
if (_element == null)
{
// Use int value editor
var element = layout.IntegerValue();