# spawn-two-sources

> Talos next · Since 0.6

`ctx.world.spawn` was given both `like` and `prefab`; it spawns one or the other

| | |
|---|---|
| Severity | `error` |

## Meaning

`ctx.world.spawn` was given both `like` and `prefab`; it spawns one or the other

## Fix

keep `like` to copy a live entity, or `prefab` to spawn a copy of a prefab file
