Hide computer light in editor
This commit is contained in:
parent
728c956f72
commit
d8f2e3f6f7
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ onready var manager = $PowerManager as PowerManager
|
|||
func _ready():
|
||||
if not Engine.editor_hint:
|
||||
activationRange.visible = true
|
||||
$computer/screen/Light2D.visible = true
|
||||
|
||||
func set_type(val):
|
||||
computer_type = val
|
||||
|
|
|
@ -147,6 +147,7 @@ region_enabled = true
|
|||
region_rect = Rect2( 0, 0, 32, 32 )
|
||||
|
||||
[node name="Light2D" type="Light2D" parent="computer/screen"]
|
||||
visible = false
|
||||
position = Vector2( 16, 16 )
|
||||
enabled = false
|
||||
texture = ExtResource( 5 )
|
||||
|
|
Reference in a new issue