Fix VS.flush->VisualServer.sync

Fixes #1544
This commit is contained in:
FeralBytes
2018-07-31 16:02:36 -08:00
committed by GitHub
parent b0c75ee4ca
commit 7e14ac0e7d

View File

@@ -78,7 +78,7 @@ func is_ready(path):
func _wait_for_resource(res, path):
_unlock("wait_for_resource")
while true:
VS.flush()
VisualServer.sync()
OS.delay_usec(16000) # wait 1 frame
_lock("wait_for_resource")
if queue.size() == 0 || queue[0] != res: