From 5455875512f2243db62d31eb7f997aa32be121a2 Mon Sep 17 00:00:00 2001 From: nixnoxus <87639406+nixnoxus@users.noreply.github.com> Date: Thu, 21 Apr 2022 12:27:24 +0200 Subject: [PATCH] Update game_api.txt Co-authored-by: sfan5 --- game_api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game_api.txt b/game_api.txt index a6258b60..c4dbc274 100644 --- a/game_api.txt +++ b/game_api.txt @@ -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)`