mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-26 06:20:37 -08:00
wegame version adjustments
This commit is contained in:
parent
012818841d
commit
c4ef7d4431
12 changed files with 6 additions and 1 deletions
|
|
@ -158,8 +158,13 @@ export class HUDInteractiveTutorial extends BaseHUDPart {
|
|||
|
||||
onHintChanged(hintId) {
|
||||
this.elementDescription.innerHTML = T.ingame.interactiveTutorial.hints[hintId];
|
||||
|
||||
const folder = G_WEGAME_VERSION
|
||||
? "interactive_tutorial.cn.noinline"
|
||||
: "interactive_tutorial.noinline";
|
||||
|
||||
this.elementGif.style.backgroundImage =
|
||||
"url('" + cachebust("res/ui/interactive_tutorial.noinline/" + hintId + ".gif") + "')";
|
||||
"url('" + cachebust("res/ui/" + folder + "/" + hintId + ".gif") + "')";
|
||||
this.element.classList.toggle("animEven");
|
||||
this.element.classList.toggle("animOdd");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue