MinoMino / minqlx

Extends Quake Live's dedicated server with extra functionality and scripting.
GNU General Public License v3.0
110 stars 42 forks source link

fix limiter for spawn_item #86

Closed tjone270 closed 5 years ago

tjone270 commented 5 years ago

Item 0 and lower don't exist, so spawning them shouldn't be an option. Trying to spawn these causes the player client to disconnect with the following error: BG_CanItemBeGrabbed: index out of range

em92 commented 5 years ago

Please make PR to branch 0.5, 'cos it is bugfix of 0.5.x functionality. Maybe somewhen later I will make 1.0 branch for new features (see this. It includes changes of 0.5.2), so I wan't to keep everything in its place.

About patch itself. I will reproduce this when I have time.

tjone270 commented 5 years ago

Sure thing!