[end week] onbedRest reference error
Expected Behavior
No error message
Current Behavior
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: 1184#7e7407f0f8
ReferenceError: onbedRest is not defined
ReferenceError: onbedRest is not defined
at slavesToTrain (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:83316:102)
at Array.App.EndWeek.penthouseReport (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:82671:27)
at Object.App.EndWeek.slaveAssignmentReport (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:133565:69)
at App.DomPassage.eval [as callback] (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:2425:25)
at App.DomPassage.render (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:1120:16)
at Object.enginePlay (<path>/FC_pregmod.html:543178:98713)
at advance (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:66315:11)
at doEndWeek (eval at call.output.output.output (<path>/FC_pregmod.html:14:98412), <anonymous>:66056:3)
Steps to Reproduce
- Comple the below commit
- Load the referenced save.
- End the current week.
- Start a new week.
Additional information
- Release ID:
- Commit: 7e7407f0
- Save file: #4433 (closed)
Running BC seeming makes no impact.