mirror of
https://github.com/CFC-Servers/cfc_network_promises.git
synced 2025-03-04 03:03:19 -05:00
Revert default await type back to RETURN
This commit is contained in:
parent
6d1b34917f
commit
2c63769c19
@ -133,7 +133,7 @@ function await( p, awaitType, arg )
|
||||
return p
|
||||
end
|
||||
|
||||
awaitType = awaitType or AwaitTypes.PROPAGATE
|
||||
awaitType = awaitType or AwaitTypes.RETURN
|
||||
local data = { coroutine.yield( awaitFlag, p ) }
|
||||
local success = table.remove( data, 1 )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user