db fehler gefixt

This commit is contained in:
hydrant
2020-04-24 20:03:28 +02:00
parent abf248b1e3
commit 63f05026e0
8 changed files with 18 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ namespace ReallifeGamemode.Server.Managers
var addedATMs = 0;
using (var dbContext = new DatabaseContext())
{
foreach (var currentATM in dbContext.Blips)
foreach (var currentATM in dbContext.Blips.ToList())
{
if (currentATM.Sprite == 500)
{