Use new keybind utils

This commit is contained in:
Vortrex
2021-07-12 17:41:38 -05:00
parent 85896f2f02
commit 4c5461c0de

View File

@@ -104,7 +104,7 @@ function renderPropertyEntranceLabel(name, position, locked, isBusiness, price,
switch(bizLabelInfoType) {
case VRR_BIZLABEL_INFO_ENTER:
if(enterPropertyKey != null) {
bizInfoText = `Press ${sdl.getKeyName(enterPropertyKey)} to enter`;
bizInfoText = `Press ${toUpperCase(getKeyNameFromId(enterPropertyKey))} to enter`;
} else {
bizInfoText = `Use /enter to enter here`;
}