add auch beim ausslogen position speichern

This commit is contained in:
michael.reiswich
2021-05-13 01:41:09 +02:00
parent 0aa1e4d49b
commit 845523aa7c
2 changed files with 22 additions and 2 deletions

View File

@@ -281,6 +281,7 @@ namespace ReallifeGamemode.Server.Events
sV.PositionZ = pos.Z;
sV.Heading = v.Heading;
player.SendNotification("~g~Das Fahrzeug wurde geparkt.");
dbContext.SaveChanges();