mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 10:56:29 +03:00
Fix copy key failing when player has no backpack
Related to #1567, so I made this a function so it can be reused. People should call this whenever they are adding a toolbelt item which the player may already have. It has localized strings and handles spawning the weapon holder on water, land and rooftop. Tested both the sledgehammer and key copying. Confirmed all three conditions are working.
This commit is contained in:
@@ -3306,16 +3306,6 @@
|
||||
<French>\n\nConstruire une clé requiert une barre de fer</French>
|
||||
<Czech>\n\nNa vytvoření klíče potřebujete 1 cihličku cínu</Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_60">
|
||||
<Original>\n\nCopied key has been added to your backpack.</Original>
|
||||
<English>\n\nCopied key has been added to your backpack.</English>
|
||||
<German>\n\nDer kopierte Schlüssel wurde Ihrem Rücksack hinzugefügt.</German>
|
||||
<Russian>\n\nСкопированный ключ был добавлен в ваш рюкзак.</Russian>
|
||||
<!-- <Spanish></Spanish> -->
|
||||
<Dutch>\n\nDe gekopieerde sleutel is in je rugzak gestopt.</Dutch>
|
||||
<French>\n\nLe double de la clé a été ajouté dans votre sac à dos.</French>
|
||||
<Czech>Zkopírovaný klíč byl přidán do batohu</Czech>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_PLAYER_61">
|
||||
<Original>\n\nCanceled Key Crafting.</Original>
|
||||
<English>\n\nCanceled Key Crafting.</English>
|
||||
|
||||
Reference in New Issue
Block a user