When using the script there are currently no checks to see if the item the player is using actually has the custom buildings set.
This can allow players to change items via loadout, touch a locker or respawn and the custom buildings will persist until they are destroyed.
This can allow someone to employ multiple different custom buildings when they shouldn't be able to.
Example:
Item 1 has mini dispenser, item 2 has mini teleporter. Both item's take the PDA slot.
Player spawns with item 1, builds mini dispenser, changes to item 2 in loadout and touches locker/respawned.
Mini dispenser persists even though item 1 is no longer active.
Solution to this is to destroy the buildings when the item that applies said custom building is removed from the player's inventory, either by respawning or touching a resupply locker.
When using the script there are currently no checks to see if the item the player is using actually has the custom buildings set.
This can allow players to change items via loadout, touch a locker or respawn and the custom buildings will persist until they are destroyed.
This can allow someone to employ multiple different custom buildings when they shouldn't be able to.
Example:
Item 1 has mini dispenser, item 2 has mini teleporter. Both item's take the PDA slot.
Player spawns with item 1, builds mini dispenser, changes to item 2 in loadout and touches locker/respawned.
Mini dispenser persists even though item 1 is no longer active.
Solution to this is to destroy the buildings when the item that applies said custom building is removed from the player's inventory, either by respawning or touching a resupply locker.