diff options
author | Peter Nelson <peter1138@openttd.org> | 2019-02-15 20:14:50 +0000 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-03-03 09:15:39 +0100 |
commit | 5a5944867dfeaa556ec78c23af4796adb28a6a9f (patch) | |
tree | f735f1c944bbf765bbcdfe9311cc7ed86ed71135 /src/script/api/ai/ai_group.hpp.sq | |
parent | 5d3ccae6c5bd3f328ad0d8e68ae7c69451b9ca48 (diff) | |
download | openttd-5a5944867dfeaa556ec78c23af4796adb28a6a9f.tar.xz |
Add: Add parent_group_id parameter to CreateGroup()
Diffstat (limited to 'src/script/api/ai/ai_group.hpp.sq')
-rw-r--r-- | src/script/api/ai/ai_group.hpp.sq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/ai/ai_group.hpp.sq b/src/script/api/ai/ai_group.hpp.sq index cae6cb3ac..5fa50ae1b 100644 --- a/src/script/api/ai/ai_group.hpp.sq +++ b/src/script/api/ai/ai_group.hpp.sq @@ -26,7 +26,7 @@ void SQAIGroup_Register(Squirrel *engine) SQAIGroup.DefSQConst(engine, ScriptGroup::GROUP_INVALID, "GROUP_INVALID"); SQAIGroup.DefSQStaticMethod(engine, &ScriptGroup::IsValidGroup, "IsValidGroup", 2, ".i"); - SQAIGroup.DefSQStaticMethod(engine, &ScriptGroup::CreateGroup, "CreateGroup", 2, ".i"); + SQAIGroup.DefSQStaticMethod(engine, &ScriptGroup::CreateGroup, "CreateGroup", 3, ".ii"); SQAIGroup.DefSQStaticMethod(engine, &ScriptGroup::DeleteGroup, "DeleteGroup", 2, ".i"); SQAIGroup.DefSQStaticMethod(engine, &ScriptGroup::GetVehicleType, "GetVehicleType", 2, ".i"); SQAIGroup.DefSQStaticMethod(engine, &ScriptGroup::SetName, "SetName", 3, ".i."); |