Fix InvalidCastException when loading script metadata
Old value wasn't string so we have to keep that in mind
This commit is contained in:
parent
6e9cb44004
commit
b0cbf4e2b2
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ namespace GodotTools
|
|||
{
|
||||
var oldFileDict = (Dictionary) oldFileVar;
|
||||
|
||||
if (ulong.TryParse((string) oldFileDict["modified_time"], out ulong storedModifiedTime))
|
||||
if (ulong.TryParse(oldFileDict["modified_time"] as string, out ulong storedModifiedTime))
|
||||
{
|
||||
if (storedModifiedTime == modifiedTime)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue