Update game_api.txt

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
nixnoxus 2022-04-21 12:27:24 +02:00 committed by GitHub
parent e7341d005f
commit 5455875512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1125,7 +1125,8 @@ By default only actions of real players are logged.
Actions of non-players (usually machines) are logged only when
setting `enable_non_player_action_log` is enabled.
A player is considered non-player if `player:is_player()` returns
`false` or `player.is_fake_player` is truthy.
`false` or `player.is_fake_player` is truthy. The use of
`is_fake_player` is an unofficial standard between mods.
`default.log_player_action(player, pos, message)`