mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Repair is type in list (#10229)
Using isnum is unreliable for detecting nonstandard formats of already associative lists. Causing them to be overriden with the type cache. Checking isnull instead will allow us to detect strings, numbers, lists, typepaths, basically everything that we want to check to make sure this isn't already an associative list. Fixes #10225 Fixes #10224
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#define PROFILE_MACHINES // Disable when not debugging.
|
||||
|
||||
#define ARBITRARILY_LARGE_NUMBER 10000 //Used in delays.dm and vehicle.dm. Upper limit on delays
|
||||
#define MAX_VALUE 65535
|
||||
|
||||
#ifdef PROFILE_MACHINES
|
||||
#define CHECK_DISABLED(TYPE) if(disable_##TYPE) return
|
||||
|
||||
Reference in New Issue
Block a user