diff --git a/scripts/server/payphone.js b/scripts/server/payphone.js index fcb682df..a4d38a33 100644 --- a/scripts/server/payphone.js +++ b/scripts/server/payphone.js @@ -82,6 +82,7 @@ function createPayPhone(position, number, addedBy = defaultNoAccountId) { tempPayPhoneData.whenAdded = getCurrentUnixTimestamp(); tempPayPhoneData.whoDeleted = defaultNoAccountId; tempPayPhoneData.whenDeleted = 0; + tempPayPhoneData.enabled = true; getServerData().payPhones.push(tempPayPhoneData);