From 8a5de1b0deb0b5508298d3abda0b8fbcecfccedb Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 2 Jul 2023 12:51:22 -0600 Subject: [PATCH] fix --- gql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gql.go b/gql.go index 66847d5..460d6f0 100644 --- a/gql.go +++ b/gql.go @@ -418,7 +418,7 @@ var gql_actions ThreadActions = ThreadActions{ UpdateStates(ctx, []GraphNode{thread}, func(nodes NodeMap)(error) { server_state := thread.State().(*GQLThreadState) for _, child := range(server_state.Children()) { - should_run := server_state.child_info[child.ID()].(*GQLThreadInfo) + should_run := (server_state.child_info[child.ID()]).(*GQLThreadInfo) if should_run.Started == true { ChildGo(ctx, server_state, thread, child.ID(), should_run.RestoreAction) }