Project

General

Profile

Actions

Bug #1458

closed

Lua API: correct finding disaster/achievement by name

Added by Alexandr Ignatiev 12 days ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Category:
Scripting API
Target version:
Start date:
05/26/2025
Due date:
% Done:

0%

Estimated time:

Description

api_find_disaster_by_name() is called achievement in tolua_game.pkg thus falling out of access.


Files

lua-achievement-disaster.patch (966 Bytes) lua-achievement-disaster.patch Alexandr Ignatiev, 05/27/2025 01:29 AM
Actions #1

Updated by Alexandr Ignatiev 12 days ago

Hopefully applicable to all affected versions.

Actions #2

Updated by Marko Lindqvist 11 days ago

Alexandr Ignatiev wrote in #note-1:

Hopefully applicable to all affected versions.

Tip: You can check that in seconds when you have set up your environment with a 'git worktree', one worktree for each active freeciv branch. Apply the patch to one branch in one worktree, and quickly cherry-pick it to other branches in other worktrees.

There's an example work setup in: https://github.com/freeciv/freeciv-environments/blob/main/buildsetup/meson_dir_hierarchy_setup.sh

Actions #3

Updated by Marko Lindqvist 11 days ago

  • Status changed from New to In Review
  • Assignee set to Marko Lindqvist
Actions #4

Updated by Marko Lindqvist 8 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF