PDA

View Full Version : Bug: PCOVER and PCONC conditions throw error



TriOpticon
April 27th, 2018, 02:40
An error is thrown when I attempt to attack the person with PCOVER:

Script Error: [string "scripts/manager_actor.lua"]:461: attempt to perform arithmetic on global 'nBonusSitiational' (a nil value)


I unzipped the pak file to a folder and took a look at the code. Looking through the code nBonusSitiational should be nBonusSituational. Simple enough to fix.

This would also happen with PCONC.

When I rename that variable to the proper name, the error is not thrown.

TriOpticon
May 1st, 2018, 22:51
These issues have been fixed in the latest update (v2.8). Thanks!