mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update spawn hook to use new_prototype
This commit is contained in:
parent
4b47f886bb
commit
cce31d52c9
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ def batch_update_objects_with_prototype(
|
|||
changed += 1
|
||||
obj.save()
|
||||
if spawn_hook := getattr(obj, "at_object_post_spawn", None):
|
||||
spawn_hook(prototype=prototype)
|
||||
spawn_hook(prototype=new_prototype)
|
||||
|
||||
return changed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue