From 76829e455c51052dae31f94a9a964ebadeaa9d0b Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Wed, 3 Feb 2021 09:08:25 +0100 Subject: [PATCH 14/14] Lua script API: add tile extras_owner. Export a tile's extras owner to Lua. See hrm #41445 --- common/scriptcore/tolua_game.pkg | 1 + 1 file changed, 1 insertion(+) diff --git a/common/scriptcore/tolua_game.pkg b/common/scriptcore/tolua_game.pkg index 55e762bec2..9022074379 100644 --- a/common/scriptcore/tolua_game.pkg +++ b/common/scriptcore/tolua_game.pkg @@ -63,6 +63,7 @@ struct Unit { struct Tile { Terrain *terrain; Player *owner; + Player *extras_owner; const int index @ id; }; -- 2.20.1