Fixed issue with server failing to generate a green flare as its a weapon without a default preset
This commit is contained in:
parent
fa7d67b46e
commit
f581b8ff2a
@ -997,7 +997,7 @@ export class LocationGenerator
|
|||||||
{
|
{
|
||||||
let children: Item[] = [];
|
let children: Item[] = [];
|
||||||
const defaultPreset = this.cloner.clone(this.presetHelper.getDefaultPreset(chosenTpl));
|
const defaultPreset = this.cloner.clone(this.presetHelper.getDefaultPreset(chosenTpl));
|
||||||
if (defaultPreset)
|
if (defaultPreset?._items)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user