Cheat Editing slave Prestige level causes error

Expected Behavior

End Week to work properly

Current Behavior

Ending the week gets the following error (but lets you continue to the next week seemingly without issues)

Apologies! An error has occurred. Please report this.
Please provide a screenshot of the error message, a save file and any other relevant information.

Passage: Slave Assignments Report; Version: 1128

TypeError: can't access property "fameVar", genre is undefined
prestigeGen@<path>/FC_pregmod.html line 517286 > eval:86212:8
saPorn@<path>/FC_pregmod.html line 517286 > eval:85940:15
pornEffects@<path>/FC_pregmod.html line 517286 > eval:78161:31
saLongTermEffects@<path>/FC_pregmod.html line 517286 > eval:76019:14
App.SlaveAssignment.individualSlaveReport@<path>/FC_pregmod.html line 517286 > eval:106700:23
App.SlaveAssignment.standardSlaveReport@<path>/FC_pregmod.html line 517286 > eval:106679:47
App.EndWeek.clubReport@<path>/FC_pregmod.html line 517286 > eval:55020:39
App.EndWeek.slaveAssignmentReport@<path>/FC_pregmod.html line 517286 > eval:106196:67
@<path>/FC_pregmod.html line 517286 > eval:1881:25
render@<path>/FC_pregmod.html line 517286 > eval:1107:16
enginePlay@<path>/FC_pregmod.html:525957:33
advance@<path>/FC_pregmod.html line 517286 > eval:49646:11
doEndWeek@<path>/FC_pregmod.html line 517286 > eval:49373:3

Possible Solution

This is caused by Cheat Edit modifying the Prestige Level of a slave (without modifying anything else)

Im assuming some other values need to be changed/updated as well.

Steps to Reproduce (for bugs)

  1. Cheat Edit modify a slave Prestige Level from "Not" to something higher
  2. click end week
  3. error

Additional information

  • Release ID: version: 0.10.7.1, mod version: 3.9.6, build: 1128