Skip to content

Commit

Permalink
Add new behaviour for loadAndRemove
Browse files Browse the repository at this point in the history
  • Loading branch information
enginmanap committed Sep 1, 2018
1 parent 4c51c07 commit b5446b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/APIUsage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Parameters:
bool LoadAndRemove(const std::string& worldFileName)
====================================================

Loads the world requested, and removes the current world. Returns true.
Loads the world requested, and removes the current world. Returns true if load successful, false if not. If not successful, world doesn't change.

It is used to switch between big worlds, like game maps. It is not necessary to clear menu worlds since they use very little memory.

Expand Down

0 comments on commit b5446b2

Please sign in to comment.