Merge pull request #3893 from Citadel-Station-13/upstream-merge-32582

[MIRROR] Fixes 512 compile reminders
This commit is contained in:
LetterJay
2017-11-13 11:42:40 -06:00
committed by GitHub
3 changed files with 23 additions and 9 deletions
+7 -3
View File
@@ -137,10 +137,14 @@
return
/datum/component/proc/_GetInverseTypeList(our_type = type)
#if DM_VERSION > 511
#warning Remove this hack for http://www.byond.com/forum/?post=73469
#endif
#if DM_VERSION >= 513
#warning 512 is definitely stable now, remove the old code
#endif
#if DM_VERSION < 512
//remove this when we use 512 full time
set invisibility = 101
#endif
//we can do this one simple trick
var/current_type = parent_type
. = list(our_type, current_type)