Adding CollectAction to Spawnables

This commit is contained in:
hz
2025-06-08 21:24:06 -05:00
parent a88e50d111
commit ca829a0e23
4 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ public class SpawnableController : ControllerBase
var spawnable = new Spawnable
{
Name = req.Name.ToLower(),
SpawnRate = req.SpawnRate
SpawnRate = req.SpawnRate,
CollectAction = req.CollectAction
};
await _spawnableService.CreateAsync(spawnable);