Bug #18118
ProtoCrewMember.ChangeName(string) no longer works
Start date:
03/19/2018
% Done:
0%
Language:
English (US)
Mod Related:
No
Votes:
Description
As above. My mod NameGenerator: https://forum.kerbalspaceprogram.com/index.php?/topic/171777-131-name-generator-101-generating-custom-kerbal-names-since-2018-12032018/ uses this method to change Kerbals names. In 1.4.1 this function no longer works and kerbals keep their default names.
Confirmed working fine on 1.3.1, but I did notice that the 1.4.1 compiled version throws a "MissingMethod" exception in 1.3.1 which suggests something changed in the background.
History
#1 Updated by JPLRepo almost 7 years ago
- Assignee set to JPLRepo
Change the GameEvent you are using...
From
GameEvents.onKerbalAdded.Add(onKerbalAdded);
to
GameEvents.onKerbalAddComplete.Add(onKerbalAdded);
try that.
#2 Updated by JPLRepo almost 7 years ago
- Status changed from New to Needs Clarification
#3 Updated by severedsolo almost 7 years ago
- Status changed from Needs Clarification to Moot
Yup that seems to have fixed it. I guess that makes it my bug not yours. Cheers for your help JP