[XRUIMOD-272] Lua: drop unused parameters from GetMissionDetails()/GetMissionObjective()/GetMissionOfferDetails() Created: 15/Nov/17  Updated: 15/Nov/17  Resolved: 15/Nov/17

Status: Closed
Project: X Rebirth - UI Modding
Component/s: None
Affects Version/s: None
Fix Version/s: 4.31 Beta 1

Type: Improvement Priority: Important
Reporter: Stefan Hett Assignee: Stefan Hett
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Reference

 Description   

GetMissionDetails()/GetMissionObjective()/GetMissionOfferDetails() take the following parameters:
fontname, fontsize, textwidth

However, these parameters were never evaluated (beyond performing the usual type-checks for these).

Hence, we'd drop the type-checks and document the (dropped) parameters.
To not break backwards compatibility, we'd still accept calls with the additional parameters (which are then completely ignored).


Generated at Fri Sep 18 12:54:27 CEST 2020 using JIRA 6.2.7#6265-sha1:91604a8de81892a3e362e0afee505432f29579b0.