halflife-unified-sdk icon indicating copy to clipboard operation
halflife-unified-sdk copied to clipboard

Pass original caller when delay triggering entities

Open SamVanheer opened this issue 1 year ago • 0 comments

Pass the original caller when delay triggering entities. CBaseDelay::SUB_UseTargets always passes this as the caller, even if this is a temporary entity created to delay the triggering of other entities.

This results in an inconsistency when using delay triggering compared to immediately triggering.

Note that this can break existing entity setups. This change should be extensively tested to find and fix problems in existing maps.

SamVanheer avatar Jun 26 '23 15:06 SamVanheer