mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 23:29:27 +08:00
fix: 勇士图像
This commit is contained in:
parent
0b734762b0
commit
22c83a39c5
@ -225,6 +225,7 @@ export function init() {
|
|||||||
events.prototype.setHeroIcon = function (name: ImageIds) {
|
events.prototype.setHeroIcon = function (name: ImageIds) {
|
||||||
const img = core.material.images.images[name];
|
const img = core.material.images.images[name];
|
||||||
if (!img) return;
|
if (!img) return;
|
||||||
|
core.status.hero.image = name;
|
||||||
adapters['hero-adapter']?.sync('setImage', img);
|
adapters['hero-adapter']?.sync('setImage', img);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user