S&box Wiki

Sandbox.Global.IsClosing

Syntax

static bool IsClosing { get; }

Description

Set to true when the game is closing