Skip to content

Commit ba9cc0e

Browse files
DaedalusDock-Servicestgstation-serverfrancinum
authored
Update TGS DMAPI (#897)
Co-authored-by: tgstation-server <[email protected]> Co-authored-by: Gallyus <[email protected]>
1 parent b4a950d commit ba9cc0e

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

code/__DEFINES/tgs.dm

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// tgstation-server DMAPI
22

3-
#define TGS_DMAPI_VERSION "7.1.1"
3+
#define TGS_DMAPI_VERSION "7.1.2"
44

55
// All functions and datums outside this document are subject to change with any version and should not be relied on.
66

@@ -312,6 +312,7 @@
312312
var/datum/tgs_chat_embed/structure/embed
313313

314314
/datum/tgs_message_content/New(text)
315+
..()
315316
if(!istext(text))
316317
TGS_ERROR_LOG("[/datum/tgs_message_content] created with no text!")
317318
text = null
@@ -354,6 +355,7 @@
354355
var/proxy_url
355356

356357
/datum/tgs_chat_embed/media/New(url)
358+
..()
357359
if(!istext(url))
358360
CRASH("[/datum/tgs_chat_embed/media] created with no url!")
359361

@@ -367,6 +369,7 @@
367369
var/proxy_icon_url
368370

369371
/datum/tgs_chat_embed/footer/New(text)
372+
..()
370373
if(!istext(text))
371374
CRASH("[/datum/tgs_chat_embed/footer] created with no text!")
372375

@@ -383,6 +386,7 @@
383386
var/proxy_icon_url
384387

385388
/datum/tgs_chat_embed/provider/author/New(name)
389+
..()
386390
if(!istext(name))
387391
CRASH("[/datum/tgs_chat_embed/provider/author] created with no name!")
388392

@@ -395,6 +399,7 @@
395399
var/is_inline
396400

397401
/datum/tgs_chat_embed/field/New(name, value)
402+
..()
398403
if(!istext(name))
399404
CRASH("[/datum/tgs_chat_embed/field] created with no name!")
400405

@@ -510,7 +515,7 @@
510515
/*
511516
The MIT License
512517
513-
Copyright (c) 2017-2023 Jordan Brown
518+
Copyright (c) 2017-2024 Jordan Brown
514519
515520
Permission is hereby granted, free of charge,
516521
to any person obtaining a copy of this software and

code/modules/tgs/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2017-2023 Jordan Brown
3+
Copyright (c) 2017-2024 Jordan Brown
44

55
Permission is hereby granted, free of charge,
66
to any person obtaining a copy of this software and

code/modules/tgs/core/datum.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TGS_DEFINE_AND_SET_GLOBAL(tgs, null)
77
var/list/warned_deprecated_command_runs
88

99
/datum/tgs_api/New(datum/tgs_event_handler/event_handler, datum/tgs_version/version)
10-
. = ..()
10+
..()
1111
src.event_handler = event_handler
1212
src.version = version
1313

code/modules/tgs/core/tgs_version.dm

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/datum/tgs_version/New(raw_parameter)
2+
..()
23
src.raw_parameter = raw_parameter
34
deprefixed_parameter = replacetext(raw_parameter, "/tg/station 13 Server v", "")
45
var/list/version_bits = splittext(deprefixed_parameter, ".")

0 commit comments

Comments
 (0)