Skip to content

Feature request: SHOULD_NOT_CALL_PARENTΒ #407

@Absolucy

Description

@Absolucy

Basically the opposite of SHOULD_CALL_PARENT - it bans child procs from calling the parent proc.

Example of where it'd actually be useful:

/datum/controller/subsystem/proc/fire(resumed = FALSE)
	SHOULD_NOT_CALL_PARENT(TRUE)
	flags |= SS_NO_FIRE
	CRASH("Subsystem [src]([type]) does not fire() but did not set the SS_NO_FIRE flag. Please add the SS_NO_FIRE flag to any subsystem that doesn't fire so it doesn't get added to the processing list and waste cpu.")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions