mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 01:15:11 +08:00
Auto update room portal counts when adding/editing portals
This commit is contained in:
@@ -103,6 +103,7 @@ namespace CodeWalker.Project.Panels
|
||||
if (CurrentPortal._Data.roomFrom != u)
|
||||
{
|
||||
CurrentPortal._Data.roomFrom = u;
|
||||
CurrentPortal.OwnerMlo?.UpdatePortalCounts();
|
||||
ProjectForm.SetYtypHasChanged(true);
|
||||
}
|
||||
}
|
||||
@@ -123,6 +124,7 @@ namespace CodeWalker.Project.Panels
|
||||
if (CurrentPortal._Data.roomTo != u)
|
||||
{
|
||||
CurrentPortal._Data.roomTo = u;
|
||||
CurrentPortal.OwnerMlo?.UpdatePortalCounts();
|
||||
ProjectForm.SetYtypHasChanged(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user