Merge pull request #4944 from VOREStation/pol-matweak

Tweak weird MA override
This commit is contained in:
Anewbe
2018-02-25 12:38:58 -06:00
committed by GitHub
3 changed files with 4 additions and 9 deletions
@@ -159,8 +159,6 @@ Please contact me on #coderbus IRC. ~Carn x
//0: We start with their existing appearance (this contains their verbs, important to keep those!)
var/mutable_appearance/ma_compiled = new(src)
ma_compiled.plane = plane //Required because of an override on mutable_appearance/New() that sets it to FLOAT_PLANE...for some reason.
ma_compiled.layer = layer
//1: HUDs because these are hidden behind a backplane. See update_icons_huds()
ma_compiled.overlays = list_huds //The first one can set instead of add
@@ -189,8 +187,6 @@ Please contact me on #coderbus IRC. ~Carn x
ma = passed_ma
else
ma = new(src)
ma.plane = plane //Required because of an override on mutable_appearance/New() that sets it to FLOAT_PLANE...for some reason.
ma.layer = layer
// First, get the correct size.
var/desired_scale = icon_scale