Welcome to the AFK Mods bug tracker. In order to report an issue, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

An account will be required to submit an issue, so if you need one and are unable to register, please contact us via the forums at https://afkmods.iguanadons.net/

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Medium
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Apr 3, 2017 10:24 pm
Last Edited By Arthmoor on May 8, 2017 5:04 pm
Closed By Arthmoor on May 8, 2017 5:04 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.1.

Issue #22271: WorkshopParentScript - corrections to the UFO4P 2.0 modifications related to #21895

Ticket #21895 is about delaying the workshop reset while an attack is running (and the player is present at that workshop at this time). While the procedure works as intended, the handling turned out to be somewhat inefficient in cases where the player leaves a workshop during the attack:

(1) the player leaves during an attack and returns while the attack is still running: in that case, a superfluous second reset may be started (but both will run after the attack is over). This can be avoided by adding a check to the OnLocationChange event.
(2) the player leaves during an attack and does not return before the attack is over: in that case, the attack is resolved off screen. WorkshopAttackScript will still make an independent call to the UFO4P_ResolveAttack function on WorkshopParentScript, but this may occur with some delay then. As a result, it will take more time until the attack data are cleared (note: until this happens, daily updates on any workshops are suspended because the scripts assume that the attack is still running). This situation can be significantly improved by letting the ResolveAttack function clear the data.