优化蓝图

This commit is contained in:
boyce
2026-03-10 17:32:47 +08:00
parent e508c69fa0
commit f3acdc860c
2 changed files with 12 additions and 3 deletions

View File

@@ -187,9 +187,12 @@ func (bm *Blueprint) Do(graphID int64, entranceID int64, args ...any) (Port_Arra
return nil, fmt.Errorf("can not find graph:%d", graphID)
}
return graph.Do(entranceID, args...)
clone := graph.Clone()
return clone.Do(entranceID, args...)
}
func (bm *Blueprint) ReleaseGraph(graphID int64) {
if graphID == 0 {
return