mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 15:07:16 +02:00
Merge pull request #3818 from InspectorCaracal/patch-41
Update spawn hook to use `new_prototype`
This commit is contained in:
commit
553cfa181a
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