diff --git a/bin/ai/compat_14.nut b/bin/ai/compat_14.nut index 586bf51c18..6983e0a3b4 100644 --- a/bin/ai/compat_14.nut +++ b/bin/ai/compat_14.nut @@ -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)); } diff --git a/bin/game/compat_14.nut b/bin/game/compat_14.nut index 49030e247a..f2d632d3c7 100644 --- a/bin/game/compat_14.nut +++ b/bin/game/compat_14.nut @@ -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)); }