From cf5806021ec8ccbcf2d9274797b9dd8ee5c343ba Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 18 Oct 2021 12:33:11 +0100 Subject: [PATCH] PLUGINS.md: capi_is_horizons() now --- PLUGINS.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/PLUGINS.md b/PLUGINS.md index e8a27474..8a27efff 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -659,13 +659,12 @@ New in version 5.0.1: `Odyssey` boolean based on the presence of such a flag in the `LoadGame` event. Defaults to `False`, i.e. if no such key in the event. -The previously undocumented`Horizons` boolean is similarly from `LoadGame`, -but blindly retrieves the value rather than having a strict default. There's +The previously undocumented `Horizons` boolean is similarly from `LoadGame`, +but blindly retrieves the value rather than having a strict default. There'd be an exception if it wasn't there, and the value would be `None`. Note that this is **NOT** the same as the return from -[plugins/eddn.py:is_horizons()](./plugins/eddn.py). That function is necessary -because CAPI data doesn't (didn't always?) have an indication of Horizons or -not. +[plugins/eddn.py:capi_is_horizons()](./plugins/eddn.py). That function is +necessary because CAPI data doesn't have a simple indication of Horizons-ness. New in version 5.0.3: