1
0
Fork 0

Fix be01c2cd2a: [Scripts] Broken ScriptGroup::SetName compat wrapper

pull/13536/head
glx22 2025-02-19 14:59:54 +01:00 committed by Loïc Guilloux
parent a577229e95
commit b8348d7e17
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ AICompany._SetPresidentName <- AICompany.SetPresidentName;
AICompany.SetPresidentName <- function(name) { return AICompany._SetPresidentName(AICompat14.Text(name)); }
AIGroup._SetName <- AIGroup.SetName;
AIGroup.SetName <- function(name) { return AIGroup._SetName(AICompat14.Text(name)); }
AIGroup.SetName <- function(id, name) { return AIGroup._SetName(id, AICompat14.Text(name)); }
AISign._BuildSign <- AISign.BuildSign;
AISign.BuildSign <- function(id, name) { return AISign._BuildSign(id, AICompat14.Text(name)); }

View File

@ -38,7 +38,7 @@ GSGoal._QuestionClient <- GSGoal.QuestionClient;
GSGoal.QuestionClient <- function(id, target, is_client, question, type, buttons) { return GSGoal._QuestionClient(id, target, is_client, GSCompat14.Text(question), type, buttons); }
GSGroup._SetName <- GSGroup.SetName;
GSGroup.SetName <- function(name) { return GSGroup._SetName(GSCompat14.Text(name)); }
GSGroup.SetName <- function(id, name) { return GSGroup._SetName(id, GSCompat14.Text(name)); }
GSIndustry._SetText <- GSIndustry.SetText;
GSIndustry.SetText <- function(id, text) { return GSIndustry._SetText(id, GSCompat14.Text(text)); }