From 9bfae22917f708a43704256ca004b8eb882e39de Mon Sep 17 00:00:00 2001 From: matix Date: Sat, 17 Jun 2017 22:27:31 -0700 Subject: [PATCH] Update 'Source/main.cpp' [p5] was returning party member 4 --- Source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/main.cpp b/Source/main.cpp index 61e84bb..e162814 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -63,7 +63,7 @@ void Servo::formatCommand(std::string* command) auto p2 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(2); auto p3 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(3); auto p4 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(4); - auto p5 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(4); + auto p5 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(5); *command = StringSub(*command, "[me]", p0 != nullptr ? p0 : ""); *command = StringSub(*command, "[p0]", p0 != nullptr ? p0 : ""); -- 2.41.0.windows.1