LocalsPatch_Hat_char