[0.69.420-PUBLIC#1890] pc.removeTailFlags() is not a function

LordSnape

New Member
Jun 6, 2017
1
0
33
It is true! Because pc.removeTailFlags simply doesn't exist :D
Unfortunately I already lost the stacktrace, but you can see the call being made at cockvine.js for example, in applyTailCockStats.
 

FilthAndNastiness

New Member
Apr 22, 2022
3
0
39
A critical error has occurred. Please create a bug report on the forums here. Please include what you did before the error and a screen-shot or copy-paste of the error message below:
Code:
 Version: 0.69.420-PUBLIC#1890 Message: pc.removeTailFlags is not a function Stack:
to@https://www.fenoxo.com/play/TiTS/release/content_myrellion.37788774.js:1:776673
Xt/
Xt/<@https://www.fenoxo.com/play/TiTS/release/content_myrellion.37788774.js:1:775790
get/<@https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:12002380
s@https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:10176144
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
Yeah, last patch when trying to bond with a cockvine seedling it didn't fully get rid of all tail flags so this was added this patch.
I think they meant to put pc.clearTailFlags() instead.

Original Code: cockvineseedling.js, line: 253
JavaScript:
function applyTailCockStats(sCockType = 4)
{
    pc.removeTailGenitals();
    pc.removeTailFlags(); // Doesn't exist (should probably be pc.clearTailFlags())
    pc.tailCount = 1;
    pc.tailType = GLOBAL.TYPE_COCKVINE;

What I think it should be:
JavaScript:
function applyTailCockStats(sCockType = 4)
{
    pc.removeTails() // runs both pc.removeTailGenitals() and pc.clearTailFlags() anyway.
    pc.tailCount = 1;
    pc.tailType = GLOBAL.TYPE_COCKVINE;