mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
[Bug Fix] Fix Scripted Spawns from spawning before Variables are loaded.
This commit is contained in:
parent
213fe6a9e9
commit
12eb838ee9
@ -418,7 +418,7 @@ bool Zone::LoadZoneState(
|
|||||||
auto spawn_states = ZoneStateSpawnsRepository::GetWhere(
|
auto spawn_states = ZoneStateSpawnsRepository::GetWhere(
|
||||||
database,
|
database,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"zone_id = {} AND instance_id = {} ORDER BY spawn2_id",
|
"zone_id = {} AND instance_id = {} ORDER BY is_zone DESC, spawn2_id ASC",
|
||||||
zoneid,
|
zoneid,
|
||||||
zone->GetInstanceID()
|
zone->GetInstanceID()
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user