From 0ec21154e93aeb4f2dfa271ddd19b142011536a5 Mon Sep 17 00:00:00 2001 From: Tegiminis Date: Wed, 4 Jan 2023 16:50:46 -0800 Subject: [PATCH] fixing spawn/update to respect value type instead of converting to string (cherry picked from commit 7bf869fcade0a659dcd4d42ba205871d6dc32a3a) --- evennia/prototypes/spawner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/prototypes/spawner.py b/evennia/prototypes/spawner.py index 727a1b82f8..ce2e6e8992 100644 --- a/evennia/prototypes/spawner.py +++ b/evennia/prototypes/spawner.py @@ -713,7 +713,7 @@ def batch_update_objects_with_prototype( def _init(val, typ): return init_spawn_value( val, - str, + typ, caller=caller, prototype=new_prototype, protfunc_raise_errors=protfunc_raise_errors,