mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-06 09:34:05 +00:00
Fixed blueprint not properly clearing on right click (#1235)
* added the new splitter * Update base-en.yaml * added the new splitter Update changelog and update translation regarding 20 upgrade tiers, closes #907 * Update base-en.yaml * fixed blueprints not clearing properly
This commit is contained in:
parent
aa553e63eb
commit
a75a880126
@ -44,7 +44,6 @@ export class GameHUD {
|
||||
|
||||
this.parts = {
|
||||
buildingsToolbar: new HUDBuildingsToolbar(this.root),
|
||||
buildingPlacer: new HUDBuildingPlacer(this.root),
|
||||
|
||||
// Must always exist
|
||||
settingsMenu: new HUDSettingsMenu(this.root),
|
||||
@ -83,6 +82,8 @@ export class GameHUD {
|
||||
this.parts[partId] = new part(this.root);
|
||||
}
|
||||
|
||||
this.parts.buildingPlacer = new HUDBuildingPlacer(this.root);
|
||||
|
||||
const frag = document.createDocumentFragment();
|
||||
for (const key in this.parts) {
|
||||
this.parts[key].createElements(frag);
|
||||
|
Loading…
Reference in New Issue
Block a user