Adds KEEP_TOGETHER to ghost images (#4839)

This commit is contained in:
Krausus
2016-07-01 12:59:07 -04:00
committed by Fox McCloud
parent fe7f166abd
commit 03fa9c1818
@@ -76,6 +76,7 @@ var/list/image/ghost_darkness_images = list() //this is a list of images for thi
ghostimage = image(icon = icon, loc = src, icon_state = icon_state)
ghostimage.overlays = overlays
ghostimage.dir = dir
ghostimage.appearance_flags |= KEEP_TOGETHER
ghostimage.alpha = alpha
appearance_flags |= KEEP_TOGETHER
ghost_darkness_images |= ghostimage