Commit f202ff19 authored by space-nuko's avatar space-nuko
Browse files

Make XY grid cancellation much faster

parent ff6a5bce
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -406,6 +406,9 @@ class Script(scripts.Script):
        grid_infotext = [None]

        def cell(x, y):
            if shared.state.interrupted:
                return Processed(p, [], p.seed, "")

            pc = copy(p)
            x_opt.apply(pc, x, xs)
            y_opt.apply(pc, y, ys)