]> git.lizzy.rs Git - Crafter.git/commitdiff
Increase redstone performance slightly
authoroilboi <47129783+oilboi@users.noreply.github.com>
Fri, 26 Jun 2020 10:05:30 +0000 (06:05 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Fri, 26 Jun 2020 10:05:30 +0000 (06:05 -0400)
mods/redstone/init.lua

index fd374e38a8f8f454131e0966db940dcc5cb4d38e..732eeeb3cf7197ca596f8807d37789107401960c 100644 (file)
@@ -137,6 +137,7 @@ localredstone.injector = function(i)
                --the data to the 3d array must be written to memory before this is executed
                --or a stack overflow occurs!!!
                localredstone.collector(i)
+               return
        end
        --index power sources
        if get_group(i,"redstone_torch") > 0 then