Fix crash caused by invalid construction ghost shader name (#336)

* Fix construction ghost shader name

Construction ghosts were using a shader called `selection_outline_unshader`, which is not a valid shader name. This caused a crash when constructing things. This fixes that problem by updating them to use a valid shader `unshaded`.

I haven't followed the changes to shaders, but it's likely that this was caused by the shader name being changed and not updated in the construction ghost prototype.

* Remove specific outline shader for construction ghost prototypes

No longer needed.
This commit is contained in:
moneyl
2019-09-09 16:04:34 -04:00
committed by Pieter-Jan Briers
parent 892b9d041d
commit 4e2f694a0d

View File

@@ -9,8 +9,6 @@
- type: ConstructionGhost - type: ConstructionGhost
- type: Collidable - type: Collidable
- type: Clickable - type: Clickable
baseshader: unshaded
selectionshader: selection_outline_unshaded
- type: entity - type: entity
name: somebody-messed-up frame name: somebody-messed-up frame