Hello. I
may have stumbled upon an issue I don't know is an actual bug or simply intended but strange behaviour, but I figured I should make a thread about it just in case (if this does in fact
not belong in this subforum, I would be grateful if it is moved to the correct subforum).
Due to the nature of the problem, screenshots are hard, but I'll try: essentially, the left image is me deactivating a toggleable system (normal systems do not exhibit this behaviour) which simply displays the current effectLevel of the shipsystem via Global.getCombatEngine().addFloatingText(). The right image is the exact same thing, but now deactivated by the AI (the venting happened afterwards due to flux, the shipsystem prevents venting [i turned this off afterwards, the behaviour remains the same]).
For some inexplicable reason, it appears as though an AI-controlled ship
does not run apply() at all during the charge-down phase of a toggleable shipsystem. After running some additional tests, this seems to hold true. I cannot fathom a reason for this to be the intended behaviour, so I am submitting it as a bug.
POSTSCRIPT: After writing all this, I found out an equally worrying fact:
unapply() is called in the charge-down phase for AI-controlled ships, but not for player-controlled ones. This further cements my suspicion that this is, in fact, a bug.