mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed up broken time
This commit is contained in:
parent
e08f7d4fa9
commit
bccbbfa3b9
@ -140,7 +140,7 @@ impl Rule for NpcAi {
|
||||
npc.target = None;
|
||||
}
|
||||
} else {
|
||||
npc.target = path_town(npc.wpos, home_id, ctx.index, ctx.event.time, npc.seed);
|
||||
npc.target = path_town(npc.wpos, home_id, ctx.index, ctx.event.time.0, npc.seed);
|
||||
}
|
||||
} else {
|
||||
// TODO: Don't make homeless people walk around in circles
|
||||
|
Loading…
Reference in New Issue
Block a user