Skip to content

Bug: env_ambient_light will hijack concequent maps missing it #1837

Description

@lunairekitty

Describe the bug

If you load a map with env_ambient_light then load a map without that entity, that map will take on the ambient lighting color despite not having that entity at all. The only workaround is to make your maps with this entity and set all values to zero to prevent it's hijacking.

To Reproduce

  1. Open a map with env_ambient_light
  2. Load a map without one

Issue Map

Any map using or not using this entity.

Expected Behavior

The entity's effect should not persist between levels.

Operating System

Windows 11 (Microsoft Confidential)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type

    Fields

    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