diff --git a/Source/Game/World/WorldStateManager.cs b/Source/Game/World/WorldStateManager.cs index cbcb2ee96..e83db288c 100644 --- a/Source/Game/World/WorldStateManager.cs +++ b/Source/Game/World/WorldStateManager.cs @@ -241,7 +241,7 @@ namespace Game if (GetWorldStateTemplate(worldStateId) == null) return; - PreparedStatement stmt = DB.Characters.GetPreparedStatement(CharStatements.REP_WORLD_VARIABLE); + PreparedStatement stmt = DB.Characters.GetPreparedStatement(CharStatements.REP_WORLD_STATE); stmt.AddValue(0, worldStateId); stmt.AddValue(1, value); DB.Characters.Execute(stmt);