1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Added apply

This commit is contained in:
DJ1TJOO 2022-02-05 22:48:28 +01:00
parent 4a3836ced9
commit 6e5f0b5e28

View File

@ -196,7 +196,7 @@ export class HUDConstantSignalEdit extends BaseHUDPart {
const codeLower = code.toLowerCase();
if (MODS_ADDITIONAL_CONSTANT_SIGNAL_RESOLVER[codeLower]) {
return MODS_ADDITIONAL_CONSTANT_SIGNAL_RESOLVER[codeLower](entity);
return MODS_ADDITIONAL_CONSTANT_SIGNAL_RESOLVER[codeLower].apply(this, [entity]);
}
if (enumColors[codeLower]) {