feat: introduce identity-backed goat
This commit is contained in:
@@ -44,8 +44,8 @@ func _run_scenario(seed_value: int) -> String:
|
||||
if npc.task_state == SimNPC.TASK_STATE_TRAVELING:
|
||||
manager.notify_npc_arrived(npc.id)
|
||||
|
||||
var snapshot: Dictionary = manager.get_state_snapshot()
|
||||
snapshot.erase("seed")
|
||||
var snapshot: Dictionary = manager.create_state_record().to_dictionary()
|
||||
snapshot["simulation"].erase("seed")
|
||||
var checksum := JSON.stringify(snapshot).sha256_text()
|
||||
manager.free()
|
||||
return checksum
|
||||
|
||||
Reference in New Issue
Block a user