Skip to content

Commit

Permalink
Return 0 when source actor doesn't exist due to being removed
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbo committed Nov 8, 2023
1 parent 83ddaa5 commit 6742837
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Fushigi/course/CourseLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public BymlHashTable BuildNode()

public ulong GetSrcHash()
{
if (mSource == null)
{
return 0;
}

return mSource.GetHash();
}

Expand Down

0 comments on commit 6742837

Please sign in to comment.