Add proper networked objects destruction upon despawn or shutdown

This commit is contained in:
Wojciech Figat
2022-10-28 11:12:39 +02:00
parent e8d39e706f
commit 2c2071285a
2 changed files with 25 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ public:
API_FUNCTION() static void SpawnObject(ScriptingObject* obj);
/// <summary>
/// Despawns the object from the other clients.
/// Despawns the object from the other clients. Deletes object from remove clients.
/// </summary>
/// <remarks>Does nothing if network is offline.</remarks>
/// <param name="obj">The object to despawn on other clients.</param>