mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Fixed null error when switching to partner's history
This commit is contained in:
parent
b99b74e27b
commit
e9f047b9af
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ namespace RJWSexperience.SexHistory.UI
|
|||
{
|
||||
Find.Selector.ClearSelection();
|
||||
_context = new SexStatusViewModel(history, orderMode);
|
||||
_context.Update();
|
||||
if (!_context.Pawn.DestroyedOrNull() && Find.CurrentMap == _context.Pawn.Map)
|
||||
{
|
||||
Find.Selector.Select(_context.Pawn);
|
||||
|
|
Loading…
Reference in a new issue