fixes 512 compile reminders (#32582)

This commit is contained in:
Emmett Gaines
2017-11-11 15:32:10 -05:00
committed by CitadelStationBot
parent 662c42b450
commit 95707bf1b7
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)