From 99f1aafd4e62667376d958a103d95c86c859c6a9 Mon Sep 17 00:00:00 2001 From: keerifox Date: Sat, 13 Jun 2026 06:06:31 +0000 Subject: [PATCH] fix runtime error when penis is rubbed against buttstacked subs --- Game/SexEngine/SexActivityBase.gd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Game/SexEngine/SexActivityBase.gd b/Game/SexEngine/SexActivityBase.gd index 137313251..bfabe1c56 100644 --- a/Game/SexEngine/SexActivityBase.gd +++ b/Game/SexEngine/SexActivityBase.gd @@ -2691,6 +2691,12 @@ func addTextTopBottom(_theText:String, _indxTop:int, _indxBottom:int): _theText=_theText.replace("", topInfo.getCharID()).replace("", bottomInfo.getCharID()) addTextRaw(_theText) +func addTextTopBottomNotRaw(_theText:String, _indxTop:int, _indxBottom:int): + var topInfo:SexInfoBase = getDomOrSubInfo(_indxTop) + var bottomInfo:SexInfoBase = getDomOrSubInfo(_indxBottom) + _theText=_theText.replace("", topInfo.getCharID()).replace("", bottomInfo.getCharID()) + addText(_theText) + # Doesn't output any text func cumOnSelf(_indxWho:int, _indxCauser:int, uniqueOrgasm:String = "", extraOrgasmText:String = " in such a humiliating way", orgasmReaction:int = SexReaction.OrgasmGeneric): var theInfo:SexInfoBase = getDomOrSubInfo(_indxWho) @@ -3262,7 +3268,7 @@ func cockWarmer(_indxBottom:int, _indxTop:int, _hole:String, _isKnot:bool = fals func rubPenisAgainst(_indxTop:int, _indxBottom:int, _hole:String): if(!(_hole in [S_VAGINA, S_ANUS])): return - addTextTopBottom("{.You} {.youVerb('rub')} {.yourHis} {.penisShort} against {.your} "+getNameHole(_indxBottom, _hole)+" "+getThroughClothingText(_indxTop, S_PENIS)+".", _indxTop, _indxBottom) + addTextTopBottomNotRaw("{.You} {.youVerb('rub')} {.yourHis} {.penisShort} against {.your} "+getNameHole(_indxBottom, _hole)+getThroughClothingText(_indxTop, S_PENIS)+".", _indxTop, _indxBottom) stimulateSex(_indxTop, _indxBottom, _hole, I_TEASE) func strokePenis(_indxActor:int, _indxTarget:int):