Skip to content

[BUG]: Setting timeOverride to -1 no longer makes a spawned grenade explode instantly #328

@panSecret

Description

@panSecret

Before You Report

  • I have searched for existing reports of this bug, and this bug report is unique.

Version

game version 14.2.3

Description

Spawning an active grenade through TimedGrenadeProjectile.SpawnActive and setting timeOverride to -1 makes the grenade use default fuse time.

To Reproduce

TimedGrenadeProjectile.SpawnActive(player.position, ItemType.GrenadeHE, timeOverride: -1);

Expected Behavior

The grenade should explode instantly after being spawned.

Additional Information

Using values above -1 works normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions