From 5be5fd3eb6dccb23ce18b984c47f499e974f8ce2 Mon Sep 17 00:00:00 2001 From: bgkillas Date: Sat, 8 Feb 2025 20:54:24 -0500 Subject: [PATCH] fix stevari --- quant.ew/files/system/stevari/stevari.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quant.ew/files/system/stevari/stevari.lua b/quant.ew/files/system/stevari/stevari.lua index 523dc332..24e39562 100644 --- a/quant.ew/files/system/stevari/stevari.lua +++ b/quant.ew/files/system/stevari/stevari.lua @@ -14,11 +14,10 @@ function rpc.spawn_stevari(pos_x, pos_y) if guard_spawn_id ~= 0 then guard_x, guard_y = EntityGetTransform(guard_spawn_id) - EntityKill(guard_spawn_id) end - if ctx.is_host then + if ctx.rpc_peer_id == ctx.my_id then EntityLoad("data/entities/misc/spawn_necromancer_shop.xml", guard_x, guard_y) else EntityLoad("mods/quant.ew/files/system/stevari/spawn_necromancer_shop.xml", guard_x, guard_y)