Within the 3.5second timeout, from player_porkland_portal_pre to player_porkland_portal_loop, the chair is not protected against destruction, hence when it is destroyed by a giant, the target in
local target = GetClosestInstWithTag("porkland_portal", inst, 5)
will be nil and cause a crash.
Adding a if check can avoid this.
Steps to Reproduce
Spawn an ancient herald or hulk and attract its hatred.
Spawn a skyworthy.
Wait and activate it timely.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now