• v15.3.1 Stable

    rayaman released this 2023-01-04 10:33:36 -05:00 | 0 commits to 15.3.1 since this release

    Update 15.3.1 - Bug fix

    Fixed

    • Issue where multiplying connections triggered events improperly
    local multi, thread = require("multi"):init()
    conn1 = multi:newConnection()
    conn2 = multi:newConnection(); -- To remove function ambiguity
    
    (conn1 * conn2)(function() print("Triggered!") end)
    
    conn1:Fire()
    conn2:Fire()
    
    -- Looks like this is triggering a response. It shouldn't. We need to account for this
    conn1:Fire()
    conn1:Fire()
    -- Triggering conn1 twice counted as a valid way to trigger the phantom connection (conn1 * conn2)
    
    -- Now in 15.3.1, this works properly and the above doesn't do anything. Internally connections are locked until the conditions are met.
    conn2:Fire()
    
    Downloads