mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Fix a custom item bug (#5008)
Turns out if the game can't equip or put the custom item into an inventory, it will just throw the item into space due to the order of where the equip_custom_items is, this should fix this problem.
This commit is contained in:
@@ -305,8 +305,6 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
|
||||
UpdateFactionList(character)
|
||||
|
||||
equip_custom_items(character)
|
||||
|
||||
// AIs don't need a spawnpoint, they must spawn at an empty core
|
||||
if(character.mind.assigned_role == "AI")
|
||||
|
||||
@@ -328,6 +326,8 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
//Find our spawning point.
|
||||
var/join_message = SSjobs.LateSpawn(character, rank)
|
||||
|
||||
equip_custom_items(character)
|
||||
|
||||
character.lastarea = get_area(loc)
|
||||
// Moving wheelchair if they have one
|
||||
if(character.buckled && istype(character.buckled, /obj/structure/bed/chair/wheelchair))
|
||||
|
||||
Reference in New Issue
Block a user