From 156b08bd22c5301b56998d9771a06c74c8b3cd0c Mon Sep 17 00:00:00 2001 From: Fikou <23585223+Fikou@users.noreply.github.com> Date: Sat, 11 Sep 2021 08:02:49 +0200 Subject: [PATCH] adds infinity to vv classes (#61302) adds infinity as a vv option --- code/__DEFINES/vv.dm | 1 + code/modules/admin/view_variables/get_variables.dm | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/code/__DEFINES/vv.dm b/code/__DEFINES/vv.dm index 91dfd3d5e70..137b2bc8bc2 100644 --- a/code/__DEFINES/vv.dm +++ b/code/__DEFINES/vv.dm @@ -17,6 +17,7 @@ #define VV_NEW_TYPE "New Custom Typepath" #define VV_NEW_LIST "New List" #define VV_NULL "NULL" +#define VV_INFINITY "Infinity" #define VV_RESTORE_DEFAULT "Restore to Default" #define VV_MARKED_DATUM "Marked Datum" #define VV_BITFIELD "Bitfield" diff --git a/code/modules/admin/view_variables/get_variables.dm b/code/modules/admin/view_variables/get_variables.dm index f624233fe06..57827f15230 100644 --- a/code/modules/admin/view_variables/get_variables.dm +++ b/code/modules/admin/view_variables/get_variables.dm @@ -70,6 +70,7 @@ VV_NEW_TYPE, VV_NEW_LIST, VV_NULL, + VV_INFINITY, VV_RESTORE_DEFAULT, VV_TEXT_LOCATE, VV_PROCCALL_RETVAL, @@ -278,3 +279,6 @@ if(.["value"] == null) .["class"] = null return + + if(VV_INFINITY) + .["value"] = INFINITY