summaryrefslogtreecommitdiffstats
path: root/DTContents.c
diff options
context:
space:
mode:
Diffstat (limited to 'DTContents.c')
-rw-r--r--DTContents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DTContents.c b/DTContents.c
index 9097fed..7fab9d9 100644
--- a/DTContents.c
+++ b/DTContents.c
@@ -1,8 +1,8 @@
-#strict 2
+#strict 3
global func GetContents(bool recursive, object obj)
{
- obj = obj || this;
+ obj ??= this;
var ret = [];
for(var i = 0; i < obj->ContentsCount(); ++i)
{