mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-12 20:18:00 +01:00
character: don't log destroying shared characters
Usually leads to too much noise for no value.
This commit is contained in:
parent
a7d2d72bd6
commit
a7d2ed55c0
1 changed files with 3 additions and 1 deletions
|
@ -343,7 +343,9 @@ SYMBOL_EXPORT struct Character* CreateCharacter(struct Game* game, char* name) {
|
|||
}
|
||||
|
||||
SYMBOL_EXPORT void DestroyCharacter(struct Game* game, struct Character* character) {
|
||||
PrintConsole(game, "Destroying %scharacter %s...", character->shared ? "shared " : "", character->name);
|
||||
if (!character->shared) {
|
||||
PrintConsole(game, "Destroying character %s...", character->name);
|
||||
}
|
||||
|
||||
if (character->destructor) {
|
||||
character->destructor(game, character);
|
||||
|
|
Loading…
Reference in a new issue