Move Location case added

This commit is contained in:
aqys
2026-03-26 12:13:00 +01:00
parent fa5d754ad6
commit 3808fb0f1a

View File

@@ -55,6 +55,9 @@ namespace PeopleVille.Persons
break; break;
case 2: case 2:
//Move location //Move location
var otherLocations = World.Locations.Where(x => x != CurrentLocation).ToList();
if (otherLocations.Count > 0)
Walk(otherLocations[RNG.ThrowDice(new Die(otherLocations.Count)) - 1]);
break; break;
case 3: case 3:
//Do nothing //Do nothing