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

Make XY grid cancellation much faster

parent ff6a5bce
...@@ -406,6 +406,9 @@ class Script(scripts.Script): ...@@ -406,6 +406,9 @@ class Script(scripts.Script):
grid_infotext = [None] grid_infotext = [None]
def cell(x, y): def cell(x, y):
if shared.state.interrupted:
return Processed(p, [], p.seed, "")
pc = copy(p) pc = copy(p)
x_opt.apply(pc, x, xs) x_opt.apply(pc, x, xs)
y_opt.apply(pc, y, ys) y_opt.apply(pc, y, ys)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment