Limit magnetization to 8 items at a time.

This commit is contained in:
Mari the Deer 2022-08-17 16:10:17 +02:00
commit 2525caeb4a
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r334 \cu(Wed 17 Aug 13:56:36 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r334 \cu(2022-08-17 13:56:36)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r335 \cu(Wed 17 Aug 16:10:17 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r335 \cu(2022-08-17 16:10:17)\c-";

View file

@ -878,7 +878,7 @@ Class Demolitionist : PlayerPawn
magitem_cnt = 0;
return;
}
if ( !swwm_usetopickup )
if ( (magitem_cnt < 8) && !swwm_usetopickup )
{
let bt = BlockThingsIterator.Create(self,500);
while ( bt.Next() )