Set new payphone enabled

This commit is contained in:
Vortrex
2023-03-03 00:51:31 -06:00
parent a8637692ee
commit 908c5980e7

View File

@@ -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);