Fixed from GetVariable to GetInteger, as the polyobj count is just a (const) number and not a variable. Was causing a crash in Hexen.
View differences
Fixed from GetVariable to GetInteger, as the polyobj count is just a (const) number and not a variable. Was causing a crash in Hexen.