mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-28 02:52:01 +00:00
Since < 511 is no longer supported, I nuked all of the refs to it. (#3037)
With the introduction of PR #3023 , 510 and lower are no longer supported. So I removed all compile time defines that were meant to allow for its support and bumped the compiler error guard.
This commit is contained in:
@@ -5,16 +5,6 @@
|
||||
var/ref
|
||||
|
||||
|
||||
#if DM_VERSION < 511
|
||||
// Don't use this directly, use the WEAKREF macro.
|
||||
/proc/_weakref(datum/D)
|
||||
if(!istype(D) || QDELETED(D))
|
||||
return
|
||||
if(!D.weakref)
|
||||
D.weakref = new(D)
|
||||
return D.weakref
|
||||
#endif
|
||||
|
||||
/datum/weakref/New(datum/D)
|
||||
ref = SOFTREF(D)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user