use current palette in sg lore (closes #202)

This commit is contained in:
Haze Weathers 2023-10-25 13:49:49 -04:00
parent cb2c2991d5
commit b57b7dd7cd
2 changed files with 12 additions and 4 deletions

6
objects/lore/hills/sg.gd Normal file
View file

@ -0,0 +1,6 @@
extends HBoxContainer
func _ready() -> void:
var palette = load("res://graphics/player/palettes/%s.png" % Game.current_palette)
$Panel/TextureRect.material.set_shader_param("palette", palette)