mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-16 18:36:43 +01:00
Adds presets, loadout items, bugfix
- Fixes a runtime error when an ID Card slot is Destroy()-ed - Adds few presets for consoles, such as, engineering console, command console, etc. - Adds tablet and cheap tablet as loadout preferences with cost of 4 and 3 points respectively. Cheap tablet contains only worst battery, hard drive and network card, regular tablet has average components.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
/obj/item/weapon/computer_hardware/card_slot/Destroy()
|
||||
if(holder2 && (holder2.card_slot == src))
|
||||
holder2.card_slot = null
|
||||
stored_card.loc = get_turf(holder2)
|
||||
if(stored_card)
|
||||
stored_card.forceMove(get_turf(holder2))
|
||||
holder2 = null
|
||||
..()
|
||||
Reference in New Issue
Block a user