Skip to content

Commit

Permalink
Update description for get_entity_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto authored Sep 13, 2024
1 parent dbc5a3a commit 88bda25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_api/script/lua_vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@ end
/// Returns STRINGID of the new string
lua["add_string"] = add_string;

/// Get localized name of an entity, pass `fallback_strategy` as `true` to fall back to the `ENT_TYPE.*` enum name
/// Get localized name of an entity from the journal, pass `fallback_strategy` as `true` to fall back to the `ENT_TYPE.*` enum name
/// if the entity has no localized name
lua["get_entity_name"] = [](ENT_TYPE type, sol::optional<bool> fallback_strategy) -> std::u16string
{
Expand Down

0 comments on commit 88bda25

Please sign in to comment.