Page MenuHomeFeedback Tracker

Attaching magazine ignores CanLoadBullet() in WeaponManager
Assigned, NormalPublic

Description

if I override

bool CanLoadBullet(Weapon_Base wpn, Magazine mag, bool reservationCheck = true)

in WeaponManager. It doesn't affect loading bullet after magazine is attached. It affects only manual action.

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
10.0.26100
Category
General
Steps To Reproduce
modded class WeaponManager
{

    //Still loads bullet after magazine is attached and chamber is empty
    override bool CanLoadBullet(Weapon_Base wpn, Magazine mag, bool reservationCheck = true)
    {
            return false;
    }
};

Event Timeline

Genriet1 created this task.Wed, Feb 19, 1:32 PM
Genriet1 edited Additional Information. (Show Details)
Genriet1 changed Reproducibility from N/A to Always.Wed, Feb 19, 5:11 PM
Geez changed the task status from New to Assigned.Thu, Feb 20, 11:00 AM