Minor editing of comments.
This commit is contained in:
parent
bc0a61a116
commit
cde92a8358
@ -1400,7 +1400,8 @@ void Connection::OnPackagesReady()
|
||||
if (!scene_)
|
||||
return;
|
||||
|
||||
// if sceneLoaded_ is true, then we are at sync state - skip loading, else we at start - loading scene from xml.
|
||||
// If sceneLoaded_ is true, we may have received additional package downloads while already joined in a scene.
|
||||
// In that case the scene should not be loaded.
|
||||
if (sceneLoaded_)
|
||||
return;
|
||||
|
||||
|
@ -183,7 +183,7 @@ public:
|
||||
const String& GetDownloadName() const;
|
||||
/// Return progress of current package download, or 1.0 if no downloads.
|
||||
float GetDownloadProgress() const;
|
||||
/// Send message with info about package, clients start download package
|
||||
/// Trigger client connections to download a package file from the server. Can be used to download additional resource packages when clients are already joined in a scene.
|
||||
void SendPackageToClients(PackageFile* package);
|
||||
|
||||
/// Current controls.
|
||||
|
Loading…
Reference in New Issue
Block a user