From fa18e07f23fb863bdbe1efceb532670cc529b559 Mon Sep 17 00:00:00 2001 From: "a.chubar" Date: Tue, 20 Jun 2023 19:32:41 +0300 Subject: [PATCH] Added PROP macro --- macro.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/macro.inc.php b/macro.inc.php index 460a527..b8b807d 100644 --- a/macro.inc.php +++ b/macro.inc.php @@ -145,6 +145,14 @@ function macro_IS_DEV($jsm) return taskman_propor("GAME_IS_DEV", 0); } +/** + * @global + */ +function macro_PROP($jsm, $expr) +{ + return \taskman\get($expr); +} + /** * @global */