Fixes alerts

This commit is contained in:
monster860
2016-07-10 15:30:36 -04:00
parent 9b778f21c6
commit dfcb4ce1d1
+3
View File
@@ -37,9 +37,12 @@
if(new_master)
var/old_layer = new_master.layer
var/old_plane = new_master.plane
new_master.layer = FLOAT_LAYER
new_master.plane = FLOAT_PLANE
alert.overlays += new_master
new_master.layer = old_layer
new_master.plane = old_plane
alert.icon_state = "template" // We'll set the icon to the client's ui pref in reorganize_alerts()
alert.master = new_master
else