mirror of
https://github.com/godotengine/godot.git
synced 2025-03-26 00:16:37 +08:00
Fix StreamPeerBuffer::duplicate() does not return value
This commit is contained in:
parent
2cf781d3c6
commit
79628b1351
@ -544,6 +544,7 @@ Ref<StreamPeerBuffer> StreamPeerBuffer::duplicate() const {
|
||||
Ref<StreamPeerBuffer> spb;
|
||||
spb.instance();
|
||||
spb->data=data;
|
||||
return spb;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user